Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Currently deployed designer throws JavaScript errors upon load #58

Closed
KrisSiegel opened this issue Jul 29, 2014 · 5 comments
Closed

Currently deployed designer throws JavaScript errors upon load #58

KrisSiegel opened this issue Jul 29, 2014 · 5 comments
Assignees

Comments

@KrisSiegel
Copy link

In Chrome 36, upon browsing to the currently deployed designer (http://www.polymer-project.org/tools/designer/), the following exceptions are thrown thus causing the designer to be non-functional (NOTE: this is only an issue in the deployed version; pulling 0.3.4 down locally works as expected):

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
d.shadowFromTemplate base.js:164
d.parseDeclaration base.js:145
d.parseDeclarations base.js:138
d.makeElementReady base.js:73
d.createdCallback base.js:41
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
e.go queue.js:62
d.registerWhenReady polymer-element.js:50
(anonymous function) polymer-element.js:115
d styleloader.js:57
e styleloader.js:32
(anonymous function) styleloader.js:23
g loader.js:54
b.resolve loader.js:95
b.fetch loader.js:48
b.handleXhr loader.js:81
GET http://www.polymer-project.org/tools/designer/components/topeka-elements/metadata.html 404 (Not Found) import.js:16
GET http://www.polymer-project.org/tools/designer/components/paper-calculator/metadata.html 404 (Not Found)

@ebidel
Copy link
Contributor

ebidel commented Jul 29, 2014

Looks like this is the offender: googlearchive/core-drag-drop@b136f5e

cc @azakus

@dfreedm
Copy link
Member

dfreedm commented Jul 29, 2014

addGesture changed syntax in polymer-gestures. Have to update the tip of tree builds.

BTW, why is the site using tip of tree for designer?

@ebidel
Copy link
Contributor

ebidel commented Jul 29, 2014

Because everything is #master: https://github.com/Polymer/designer/blob/master/bower.json :)

@ebidel
Copy link
Contributor

ebidel commented Jul 29, 2014

Daniel updated the builds. This is fixed and deployed.

@KrisSiegel
Copy link
Author

Thanks guys!

justinfagnani added a commit that referenced this issue Apr 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants