fix alpha.37 paths

This commit is contained in:
Tim Lancina
2015-09-11 08:57:39 -05:00
parent 7577c71a2e
commit 0ac7d8a592
2 changed files with 11 additions and 4 deletions

View File

@ -179,9 +179,6 @@ gulp.task('bundle.ionic', ['transpile'], function() {
prepend.push('window.Element.prototype.animate=undefined;');
}
// prepend correct system paths
prepend.push('System.config({ "paths": { "ionic/*": "ionic/*", "rx": "rx" } });');
return gulp.src([
'dist/src/es5/system/ionic/**/*.js'
])

View File

@ -53,7 +53,17 @@
<script src="../../../js/ionic.bundle.js"></script>
<script>System.import("index");</script>
<script>
System.config({
"paths": {
"*": "*.js",
"ionic/*": "ionic/*",
"angular2/*": "angular2/*",
"rx": "rx"
}
})
System.import("index");
</script>
</body>
</html>