繁体   English   中英

在Polymer 1.0中,为什么使用webcomponents-lite.js时我的硫化页面无法在IE中显示

[英]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>

有用

我正在使用版本1.14.0进行--inline-scripts --inline-css

它在功能的聚合物部分(我认为)中失败了

removeAttribute: function (name) {
    this.node.removeAttribute(name);
    this._distributeParent();
},

使用:对象不支持属性或方法'removeAttribute'

在这个稍微简单的示例中,我一定做错了什么,但这是什么?

lite是否没有填充某些东西?

非常感谢

干杯

最新版本的webcomponents已修复此问题。

暂无
暂无

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

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