Skip to content

stack: "TypeError: Object #<Object> has no method 'getAttr #325

Closed
@lisongx

Description

I was using jquery with polymer, it seems that the $ sign is causing the problem( if I using requirejs to load jquery locally, no error)

TypeError {stack: "TypeError: Object #<Object> has no method 'getAttr…0.0.0:8888/static/js/lib/polymer.min.js:32:21430)"}
message: "Object #<Object> has no method 'getAttribute'"
stack: "TypeError: Object #<Object> has no method 'getAttribute'↵    at Function.ot.attr (http://0.0.0.0:8888/static/js/lib/jquery.min.js:4:14427)↵    at Array.<anonymous> (http://0.0.0.0:8888/static/js/lib/jquery.min.js:4:16241)↵    at http://0.0.0.0:8888/static/js/lib/jquery.min.js:4:21015↵    at Tt.a (http://0.0.0.0:8888/static/js/lib/jquery.min.js:4:22596)↵    at kt (http://0.0.0.0:8888/static/js/lib/jquery.min.js:4:23640)↵    at Function.ot (http://0.0.0.0:8888/static/js/lib/jquery.min.js:4:9477)↵    at HTMLDocument.x.event.handlers (http://0.0.0.0:8888/static/js/lib/jquery.min.js:5:10458)↵    at HTMLDocument.x.event.dispatch (http://0.0.0.0:8888/static/js/lib/jquery.min.js:5:9715)↵    at Object.y.handle (http://0.0.0.0:8888/static/js/lib/jquery.min.js:5:6789)↵    at v (http://0.0.0.0:8888/static/js/lib/polymer.min.js:32:21430)"
__proto__: Error

I keep getting thie error when I click anywhere in the page

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions