Revert "chore(): remove unnecessary scripts from package"

This reverts commit 2c08ddc34034861f9a65cf4c3961cc7d6b4b8eca.
This commit is contained in:
Tim Lancina
2016-02-05 10:31:02 -06:00
parent d23df4280c
commit c5922a2dca
2 changed files with 20 additions and 10 deletions

View File

@ -284,7 +284,8 @@ gulp.task('sass', function() {
}); });
/** /**
* Creates Ionic themes for testing. * I'm not quite sure what this is for, people tell me we use it internally to
* test themes.
*/ */
gulp.task('sass.themes', function() { gulp.task('sass.themes', function() {
var sass = require('gulp-sass'); var sass = require('gulp-sass');
@ -335,7 +336,15 @@ gulp.task('copy.scss', function() {
gulp.task('copy.libs', function() { gulp.task('copy.libs', function() {
var merge = require('merge2'); var merge = require('merge2');
var webAnimations = gulp.src([ var webAnimations = gulp.src([
'scripts/resources/web-animations-js/web-animations.min.js' 'scripts/resources/web-animations-js/web-animations.min.js',
'node_modules/es6-shim/es6-shim.min.js',
'node_modules/systemjs/node_modules/es6-module-loader/dist/es6-module-loader.src.js',
'node_modules/systemjs/dist/system.src.js',
'node_modules/angular2/bundles/angular2-polyfills.js',
'node_modules/angular2/bundles/angular2.dev.js',
'node_modules/angular2/bundles/router.dev.js',
'node_modules/angular2/bundles/http.dev.js',
'node_modules/rxjs/bundles/Rx.js'
]) ])
.pipe(gulp.dest('dist/js')); .pipe(gulp.dest('dist/js'));

View File

@ -33,15 +33,16 @@
} }
</script> </script>
<script src="../../../../node_modules/systemjs/node_modules/es6-module-loader/dist/es6-module-loader.src.js"></script> <script src="../../../js/es6-shim.min.js"></script>
<script src="../../../../node_modules/systemjs/dist/system.src.js"></script> <script src="../../../js/es6-module-loader.src.js"></script>
<script src="../../../../node_modules/angular2/bundles/angular2-polyfills.js"></script> <script src="../../../js/system.src.js"></script>
<script src="../../../../node_modules/angular2/bundles/angular2.dev.js"></script> <script src="../../../js/angular2-polyfills.js"></script>
<script src="../../../../node_modules/angular2/bundles/router.dev.js"></script> <script src="../../../js/angular2.dev.js"></script>
<script src="../../../../node_modules/angular2/bundles/http.dev.js"></script> <script src="../../../js/router.dev.js"></script>
<script src="../../../../scripts/resources/web-animations-js/web-animations.min.js"></script> <script src="../../../js/http.dev.js"></script>
<script src="../../../js/web-animations.min.js"></script>
<script src="../../../bundles/ionic.system.js"></script> <script src="../../../bundles/ionic.system.js"></script>
<script src="../../../../node_modules/rxjs/bundles/Rx.js"></script> <script src="../../../js/Rx.js"></script>
<style> <style>
.snapshot body { .snapshot body {