mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix alpha.37 paths
This commit is contained in:
@ -179,9 +179,6 @@ gulp.task('bundle.ionic', ['transpile'], function() {
|
|||||||
prepend.push('window.Element.prototype.animate=undefined;');
|
prepend.push('window.Element.prototype.animate=undefined;');
|
||||||
}
|
}
|
||||||
|
|
||||||
// prepend correct system paths
|
|
||||||
prepend.push('System.config({ "paths": { "ionic/*": "ionic/*", "rx": "rx" } });');
|
|
||||||
|
|
||||||
return gulp.src([
|
return gulp.src([
|
||||||
'dist/src/es5/system/ionic/**/*.js'
|
'dist/src/es5/system/ionic/**/*.js'
|
||||||
])
|
])
|
||||||
|
@ -53,7 +53,17 @@
|
|||||||
|
|
||||||
<script src="../../../js/ionic.bundle.js"></script>
|
<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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Reference in New Issue
Block a user