Aurelia Typescript project works only with Chrome

Does anyone know why the Aurelia-Typescript projects listed in this git repository only work in the Chrome browser?

Are there any ES6 features that are currently only supported in Chrome and not in IE or FireFox?

EDIT - Below are the error messages from Firefox 34.0.5

mutating the [[Prototype]] object will make your code run very slowly; instead, create an object with the correct source value [[Prototype]] using Object.create core.js: 130

The character encoding of the HTML document has not been declared. The document will be displayed with garbled text in some browser configurations if the document contains characters outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transmission protocol. index.html

"DEBUG [bootstrapper] loads HTMLImports polyfill" core.js: 2518

The web console management API (console.log, console.info, console.warn, console.error) is disabled using the script on this page.

Error: script error for: webcomponentsjs / HTMLImports.min http://requirejs.org/docs/errors.html#scripterror require.js: 166

+4
source share
2 answers

aurelia-bundle.js 15346 ( ) , HTML:

      if (!("import" in document.createElement("link"))) {
        logger.debug("loading the HTMLImports polyfill");
        toLoad.push(System.normalize("webcomponentsjs/HTMLImports.min", loaderName).then(function (name) {
          return System["import"](name);
        }));
      }

, -, Chrome. HTMLImports polyfill , :

  • HTMLImports.min.js webcomponentsjs
  • "aurelia/webcomponentsjs/HTMLImports.min". , webcomponentsjs ( , )
  • @Chi Row HTML Template polyfill (IE 11, , , ).
+4

@T Sol Firefox.

IE HTMLTemplateElements.js git . aurelia-html-template-elements.js.

IE.

+3

All Articles