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

search() doesn't work when loaded from a node.js module required into an nw.js app #33

Closed
avoidwork opened this issue Jul 11, 2015 · 0 comments
Assignees
Labels

Comments

@avoidwork
Copy link
Owner

The rgex = value instanceof RegExp is always false in this case because the Constructors are not the same (diff sandbox). It can be corrected by checking if typeof value.test === 'function'.

@avoidwork avoidwork added the bug label Jul 11, 2015
@avoidwork avoidwork self-assigned this Jul 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant