簡體   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