angular-cn/tools/broccoli/html-replace/SCRIPTS.html

28 lines
1.0 KiB
HTML
Raw Normal View History

<script src="es6-shim.js"></script>
<script src="system.src.js"></script>
<script>
System.config({
baseURL: '/',
packages: {
'angular2_material': {defaultExtension: 'js'},
'benchmarks': {defaultExtension: 'js'},
'playground': {defaultExtension: 'js'},
// TODO(rado): These helpers don't end up in the bundle, thus they should
// not even be in src/*. Move them!
'angular2/src/testing/benchmark_util': {defaultExtension: 'js'},
'angular2/src/facade/browser': {defaultExtension: 'js'},
'angular2/bootstrap': {defaultExtension: 'js'},
'rxjs': {defaultExtension: 'js'},
}
});
</script>
<script src="/bundle/angular2-polyfills.js"></script>
<script src="/bundle/angular2.dev.js"></script>
<script src="/bundle/http.js"></script>
<script src="/bundle/router.dev.js"></script>
2015-12-14 17:26:00 -05:00
<script src="/rxjs/bundles/Rx.js"></script>
<script>
var filename = '@@PATH/@@FILENAME';
System.import(filename).then(function(m) { m.main(); }, console.error.bind(console));
</script>