CustomElements.js:596Uncaught TypeError: Cannot assign to re
CustomElements.js:596Uncaught TypeError: Cannot assign to read only property 'customElements' of object '#<Window>'
我们正在利用skateJS并使用webcomponent.js进行多边形填充。然而,自从今天新发布的Google Chrome(版本54.0.2840.71),我们的应用抛出了一个致命的错误。
customElements .js:596Uncaught TypeError: Cannot assign给object '#'的只读属性'customElements'
从54版开始,Chrome引入了一个新的全局变量customElements
,实际上是window.customElements
,这是自定义元素v1规范的一部分。
它必须与您在自己的代码中使用的相同变量冲突(猜想在文件CustomElements.js中)。你需要重命名它
相关文章:
- 节点Js:How to catch a“;没有这样的文件或目录“;读取线模块出错
- jQuery AJAX write to XML
- grep in JQuery to C#
- how to convert html <div> to pdf
- Node.js - POST to iFrame?
- SVG xml to image
- Advantages to DOMParser vs template & innerHTML
- how to split a string with ','
- How to declare a Map containing certain properties with flow
- 如何使用object.assign()从其他对象引用基本对象属性
- Php variable obj to js
- 如何在submit to sightly时将表单输入值作为参数传递给WCMUsePojo
- D3JS selectAll to append rect
- Javascript connect to websocket
- 依次调用location.reload()和location.assign()
- Underscore each to update collection
- 在哪里可以找到R-to-JavaScript编译器
- SCEditor BBcode to HTML parsing
- Javascript RegEx to XML Schema RegEx
- CustomElements.js:596Uncaught TypeError: Cannot assign to re