简体   繁体   English

聚合物元件不起作用

[英]Polymer element not working

Just trying to run the demo code here but I get some error in my console saying: 只是尝试在此处运行演示代码但我的控制台出现一些错误,说:

Warning: platform.js is not the first script on the page. 

See http://www.polymer-project.org/docs/start/platform.html#setup for details. platform.js:12
'window.webkitStorageInfo' is deprecated. Please use 'navigator.webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instead. platform.js:12
XHR finished loading: "http://localhost:8000/elements/color-picker.html". platform.js:14
Uncaught Error: UNSPECIFIED_EVENT_TYPE_ERR: DOM Events Exception 0 catcher.js:208
XHR finished loading: "http://localhost:8000/bower_components/polymer/polymer.html". platform.js:14
Uncaught Error: UNSPECIFIED_EVENT_TYPE_ERR: DOM Events Exception 0 catcher.js:208
XHR finished loading: "http://localhost:8000/bower_components/polymer/layout.html".

PS: I am testing it on chrome Version 28.0.1500.95. PS:我正在Chrome 28.0.1500.95版上对其进行测试。

Thanks! 谢谢!

感谢@robdodson,将chrome更新到最新版本可以解决此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM