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

TypeError: Cannot use 'in' operator to search for #55

Open
toddb opened this issue Nov 4, 2013 · 0 comments
Open

TypeError: Cannot use 'in' operator to search for #55

toddb opened this issue Nov 4, 2013 · 0 comments

Comments

@toddb
Copy link

toddb commented Nov 4, 2013

Area: parser for Halfviz

There is a parser error when parsing, say, {color:none}.

Problem: jQuery has been updated and no longer iterates over a string as an array of char.

Solution: downgrade jQuery until code is patched.

TypeError: Cannot use 'in' operator to search for '11' in {color:none}
    at j (http://codeorigin.jquery.com/jquery-2.0.3.min.js:4:6559)
    at Function.x.extend.each (http://codeorigin.jquery.com/jquery-2.0.3.min.js:4:4430)
    at recognize (http://localhost:9001/lib/arbor/demos/halfviz/src/parseur.js:13:9)
    at lechs (http://localhost:9001/lib/arbor/demos/halfviz/src/parseur.js:77:24)
    at String.<anonymous> (http://localhost:9001/lib/arbor/demos/halfviz/src/parseur.js:158:24)
    at Function.x.extend.each (http://codeorigin.jquery.com/jquery-2.0.3.min.js:4:4575)
    at that.parse (http://localhost:9001/lib/arbor/demos/halfviz/src/parseur.js:157:11)
    at http://localhost:9001/js/directives.js:133:33
    at wrappedCallback (http://localhost:9001/lib/angular/angular.js:9769:81)
    at wrappedCallback (http://localhost:9001/lib/angular/angular.js:9769:81) angular.js:8296
TypeError: Cannot use 'in' operator to search for '11' in {color:none}
    at j (http://codeorigin.jquery.com/jquery-2.0.3.min.js:4:6559)
    at Function.x.extend.each (http://codeorigin.jquery.com/jquery-2.0.3.min.js:4:4430)
    at recognize (http://localhost:9001/lib/arbor/demos/halfviz/src/parseur.js:13:9)
    at lechs (http://localhost:9001/lib/arbor/demos/halfviz/src/parseur.js:77:24)
    at String.<anonymous> (http://localhost:9001/lib/arbor/demos/halfviz/src/parseur.js:158:24)
    at Function.x.extend.each (http://codeorigin.jquery.com/jquery-2.0.3.min.js:4:4575)
    at that.parse (http://localhost:9001/lib/arbor/demos/halfviz/src/parseur.js:157:11)
    at http://localhost:9001/js/directives.js:133:33
    at wrappedCallback (http://localhost:9001/lib/angular/angular.js:9769:81)
    at wrappedCallback (http://localhost:9001/lib/angular/angular.js:9769:81) 
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