Skip to content

Conversation

raymondfeng
Copy link

@doug-martin The previous PR is missing a bind to ensure assert has the correct receiver.

doug-martin added a commit that referenced this pull request Mar 1, 2015
Add the missing bind for assert
@doug-martin doug-martin merged commit 2c6d31b into noolsjs:master Mar 1, 2015
doug-martin added a commit to doug-martin/nools that referenced this pull request Mar 2, 2015
* Fixed issue with `CustomConstraint` not binding `this.assert` to `this`. noolsjs#146 - @raymondfeng
* Added more tests for custom constraints
* Updated readme to include docs about custom constraints.
@doug-martin doug-martin mentioned this pull request Mar 2, 2015
@doug-martin
Copy link
Contributor

Thanks Raymond. I added some tests to ensure we don't have any regressions on this and added some docs. Feel free to add some more docs if you can think of better examples. Thanks again!

-Doug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants