Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to extend functionality of existing methods #19

Open
3rd-Eden opened this issue Aug 23, 2016 · 0 comments
Open

Add the ability to extend functionality of existing methods #19

3rd-Eden opened this issue Aug 23, 2016 · 0 comments

Comments

@3rd-Eden
Copy link
Member

We have a .contains method that currently is used for string operations and arrays using .indexOf there might be usecases where plugin authors want to extend this method to allow for more checking of methods. We should come up with a way to do this.

assume.contains.before(function () {
  return true / false;
});
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

No branches or pull requests

1 participant