为我打开了我的申请未定义聚合物关键全局变量。为什么?
polymer-micro.html:117 Uncaught TypeError: Cannot read property '_makeReady' of undefined
(anonymous function) @ polymer-micro.html:117
在这第一个的indefined我有一个奇怪的一系列的错误是Polymer.RenderStatus
polymer.html:3417 Uncaught TypeError: Polymer.dom is not a function
_findStyleHost @ polymer.html:3417
_computeStyleProperties @ polymer.html:3461
_applyCustomProperties @ polymer.html:3652
fn @ polymer.html:3638
显然Polymer.dom应该是一个功能。为什么不是?
Uncaught TypeError: Cannot read property '_isEventBogus' of undefined
_notifyListener @ polymer.html:2012
(anonymous function) @ polymer.html:1534
fire @ polymer.html:1277
_notifyChange @ polymer.html:1372
_notifyEffect @ polymer.html:1553
_effectEffects @ polymer.html:1405
_propertySetter @ polymer.html:1389
setter @ polymer.html:1468q
ueryHandler @ iron-media-query.html:116
这是一个媒体查询生成此错误每次我们整个移动媒体查询边界屏幕的宽度。在这种情况下,未定义的变量是Polymer.Bind
如果我在polymer.html的顶部放置一个断点(在脚本标签后面),然后当我放弃它时错误消失。这几乎意味着它通常不会让聚合物mini.html加载。
我使用chrome运行,并且index.html中的测试是否加载webcomponents-lite.js
填充表示它不加载。
我被困在关于如何调试此问题。有任何想法吗?
Adam的编辑修改了格式。没有必要恢复它。 – Matt