Skip to content

Commit 2c6d31b

Browse files
committed
Merge pull request #146 from raymondfeng/master
Add the missing bind for assert
2 parents 0b0663e + 42b728a commit 2c6d31b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/constraint.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ Constraint.extend({
244244
this.type = "custom";
245245
this.fn = func;
246246
this.options = options;
247+
extd.bindAll(this, ["assert"]);
247248
},
248249

249250
equal: function (constraint) {

0 commit comments

Comments
 (0)