Skip to content

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

@toddb

Description

@toddb

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) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions