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

minor fix to match function to handle array #21

Merged
merged 1 commit into from Jul 18, 2014

Conversation

anshulverma
Copy link
Contributor

Without this patch, match('a', ['abc', 'ab', 'bb']) returns '' (empty string). After applying the patch, the method returns 'abc ab'.

match('a', ['abc']) should return 'abc'
heapwolf added a commit that referenced this pull request Jul 18, 2014
minor fix to match function to handle array
@heapwolf heapwolf merged commit 6921cee into heapwolf:master Jul 18, 2014
@mrlannigan
Copy link

@hij1nx Any chance of getting a push to npm for this one?

@anshulverma
Copy link
Contributor Author

@mrlannigan I'd recommend using the git repository to resolve the dependency until someone publishes this module to npm. You can find more details here: https://www.npmjs.org/doc/files/package.json.html

@heapwolf
Copy link
Owner

published as 0.4.4

@mrlannigan
Copy link

Thank you!

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.

None yet

4 participants