Skip to content

Commit

Permalink
Merge pull request #146 from raymondfeng/master
Browse files Browse the repository at this point in the history
Add the missing bind for assert
  • Loading branch information
doug-martin committed Mar 1, 2015
2 parents 0b0663e + 42b728a commit 2c6d31b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/constraint.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ Constraint.extend({
this.type = "custom";
this.fn = func;
this.options = options;
extd.bindAll(this, ["assert"]);
},

equal: function (constraint) {
Expand Down

0 comments on commit 2c6d31b

Please sign in to comment.