Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Uncaught TypeError: undefined is not a function #3

Closed
dshoukim opened this issue Jul 29, 2014 · 1 comment
Closed

Uncaught TypeError: undefined is not a function #3

dshoukim opened this issue Jul 29, 2014 · 1 comment

Comments

@dshoukim
Copy link

Drag and drop is broken as of 14 hours ago. Here's the traceback from the core-drag-drop from http://www.polymer-project.org/components/core-drag-drop/demo.html and http://www.polymer-project.org/tools/designer:

Uncaught TypeError: undefined is not a function core-drag-drop.html:58
(anonymous function) core-drag-drop.html:58
Polymer.attached core-drag-drop.html:61
d.attachedCallback base.js:88
f.registerPrototype prototype.js:197
f.register prototype.js:26
d._register polymer-element.js:64
e.flush queue.js:100
e.ready queue.js:105
e.check queue.js:80
(anonymous function) queue.js:162
c HTMLImports.js:220
d HTMLImports.js:225
h HTMLImports.js:230
(anonymous function) HTMLImports.js:186
g HTMLImports.js:210
c HTMLImports.js:205

And points to this block of code:

attached: function() {
    var listen = function(event, handler) {
        PolymerGestures.addGesture(this.parentNode, event, this[handler].bind(this));
  }.bind(this);
noxer referenced this issue Jul 29, 2014
Use new addGesture syntax with handler
@dfreedm
Copy link
Contributor

dfreedm commented Aug 11, 2014

Fixed with 0.3.5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants