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

Element.matches stack-overflows #2

Open
rektide opened this issue Feb 28, 2014 · 0 comments
Open

Element.matches stack-overflows #2

rektide opened this issue Feb 28, 2014 · 0 comments

Comments

@rektide
Copy link

rektide commented Feb 28, 2014

Hello. I get a stack overflow running the project. This code below sets Element.prototype.matches to a function that calls this.matches. I haven't cracked the code to figure out what's going on here, what's going awry, but I'd love to see this library in action! Cross fingers, would really appreciate it if you can kick this back into action & I can see it run.

Problem line:

  Element.prototype[matchesName] = function(selector) {
    return this.matches(selector);
  };
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