-
Notifications
You must be signed in to change notification settings - Fork 105
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
Exception using GSS with Polymer custom elements #194
Comments
Hey @sparkofreason! I see that you're using HTML imports. Are you using Polymer or something similar? |
I used Chrome for the example I posted, though I could put together one that will work in Firefox if that helps. |
FWIW - I seem to be able to avoid the exception by change line 22182 in gss.js to read as: } else if (!(value instanceof HTMLElement ) && (value != null ? value.splice : void 0)) { Not clear whether that's the proper fix. |
Hey. It's strange. Polymer adds |
The corresponding Coffescript is here: engine/src/engine/Query.coffee Line 638 in 3f6a592
It might be worth looking into why GSS checks for the It's worth noting that I modified gss.js to get some output from the Modifications:
Output:
|
I think I fixed this on ranges2 branch already gss/document@3effd66#diff-a30c2d83dd31eedc8e0aaeb7a92a62bbR3484 |
Nice. If the guard is in fact a duck-typing check for an |
See https://gist.github.com/sparkofreason/164d7e9a7c4cad833662. Loading this page gives this exception:
The text was updated successfully, but these errors were encountered: