Skip to content

Commit 5919df4

Browse files
committed
bug(): Adding es6 shims and system polyfills. Those are required by IE.
1 parent 228fddc commit 5919df4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

addon/ng2/blueprints/ng2/files/src/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<<%= htmlComponentName %>-app>Loading...</<%= htmlComponentName %>-app>
1313

1414
<script src="vendor/systemjs/dist/system.src.js"></script>
15+
<script src="vendor/systemjs/dist/system-polyfills.js"></script>
1516
<script src="vendor/rxjs/bundles/Rx.js"></script>
1617
<script src="vendor/angular2/bundles/angular2.dev.js"></script>
1718
<script src="vendor/angular2/bundles/http.dev.js"></script>

lib/broccoli/angular2-app.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ Angular2App.prototype.toTree = function () {
4141
'angular2/bundles/http.dev.js',
4242
'angular2/bundles/router.dev.js',
4343
'angular2/bundles/upgrade.dev.js',
44+
'es6-shim/es6-shim.js',
4445
'rxjs/bundles/Rx.js',
45-
'systemjs/dist/system.src.js'
46+
'systemjs/dist/system.src.js',
47+
'systemjs/dist/system-polyfills.js'
4648
],
4749
destDir: 'vendor'
4850
})
@@ -186,4 +188,4 @@ Angular2App.prototype.index = function() {
186188
files: [ htmlName ],
187189
patterns: this._configReplacePatterns()
188190
});
189-
};
191+
};

0 commit comments

Comments
 (0)