yeoman / generator-polymer

Scaffold out a Polymer project
http://polymer-project.org
926 stars 149 forks source link

Syntax error in webcomponentjs on IE11 #280

Closed pongsakornv closed 8 years ago

pongsakornv commented 8 years ago

I'm not sure where to ask this... but I use this template and deploy it to tomcat server rightaway.

Chrome/FF is fine... but for IE (I use IE11) I got this error instead

SCRIPT1003: Expected ':' File: webcomponents.js, Line: 791, Column: 11

TreeScope.prototype = { get renderer() { //<<<< this line if (this.root instanceof scope.wrappers.ShadowRoot) {

and

SCRIPT438: Object doesn't support property or method 'addEventListener'

and the result is messed up. I tried both webcomponents.js and webcomponents-lite.js and got the same result.

Thanks for helping me.

robdodson commented 8 years ago

Hi @pongsakornv would you mind moving the issue to github.com/webcomponents/webcomponentsjs ?