在 Polymer 1.0 中,为什么我的硫化页面在使用 webcomponents 时不显示在 IE 中-lite.js
In Polymer 1.0 why does my vulcanized page not show in IE when using webcomponents-lite.js
我正在尝试使用 webcomponents-lite.js,但在硫化时遇到问题。我将其归结为以下内容:
<!doctype html>
<html>
<head>
<script src='bower_components/webcomponentsjs/webcomponents-lite.js'></script>
<link rel='import' href='bower_components/paper-input/paper-input.html'>
</head>
<body>
<paper-input></paper-input>
</body>
硫化后在IE中不起作用
如果我切换到
<script src='bower_components/webcomponentsjs/webcomponents.js'></script>
有效
我正在执行 --inline-scripts --inline-css 版本 1.14.0
它在函数中的聚合物部分(我认为)失败了
removeAttribute: function (name) {
this.node.removeAttribute(name);
this._distributeParent();
},
with: 对象不支持 属性 或方法 'removeAttribute'
我一定是在这个有点简单的例子中做错了什么,但它是什么?
有没有 lite 没有 polyfill 的东西?
非常感谢
干杯
这已在最新版本的 webcomponents 中修复...哇哦
我正在尝试使用 webcomponents-lite.js,但在硫化时遇到问题。我将其归结为以下内容:
<!doctype html>
<html>
<head>
<script src='bower_components/webcomponentsjs/webcomponents-lite.js'></script>
<link rel='import' href='bower_components/paper-input/paper-input.html'>
</head>
<body>
<paper-input></paper-input>
</body>
硫化后在IE中不起作用
如果我切换到
<script src='bower_components/webcomponentsjs/webcomponents.js'></script>
有效
我正在执行 --inline-scripts --inline-css 版本 1.14.0
它在函数中的聚合物部分(我认为)失败了
removeAttribute: function (name) {
this.node.removeAttribute(name);
this._distributeParent();
},
with: 对象不支持 属性 或方法 'removeAttribute'
我一定是在这个有点简单的例子中做错了什么,但它是什么?
有没有 lite 没有 polyfill 的东西?
非常感谢
干杯
这已在最新版本的 webcomponents 中修复...哇哦