简体   繁体   中英

In Polymer 1.0 why does my vulcanized page not show in IE when using webcomponents-lite.js

I am trying to move to use webcomponents-lite.js, but have problems when vulcanizing it. I have boiled it down to the following:

<!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>

Which does not work in IE after being vulcanized

If I switch to

<script src='bower_components/webcomponentsjs/webcomponents.js'></script>

it works

I am doing --inline-scripts --inline-css with version 1.14.0

It fails in the polymer part (I think) in a function

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

with: Object doesn't support property or method 'removeAttribute'

I must be doing something wrong in this somewhat simple example, but what is it?

Is there something that lite does not polyfill?

Thanks a lot

Cheers

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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