mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(build): make watch task work without having to build first
This commit is contained in:
@@ -169,7 +169,7 @@ module.exports = function(grunt) {
|
||||
watch: {
|
||||
scripts: {
|
||||
files: ['js/**/*.js', 'ext/**/*.js'],
|
||||
tasks: ['concat:dist', 'string-replace', 'concat:bundle'],
|
||||
tasks: ['concat:dist', 'concat:distangular', 'string-replace', 'concat:bundle'],
|
||||
options: {
|
||||
spawn: false
|
||||
}
|
||||
|
||||
@@ -17,12 +17,7 @@
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=1 ); /* IE6-9 */
|
||||
}
|
||||
</style>
|
||||
<script src="../dist/js/ionic.js"></script>
|
||||
<script src="../dist/js/angular/angular.js"></script>
|
||||
<script src="../dist/js/angular/angular-sanitize.js"></script>
|
||||
<script src="../dist/js/angular/angular-animate.js"></script>
|
||||
<script src="../dist/js/angular-ui/angular-ui-router.js"></script>
|
||||
<script src="../dist/js/ionic-angular.js"></script>
|
||||
<script src="../dist/js/ionic.bundle.js"></script>
|
||||
<script>
|
||||
angular.module('ionicApp', ['ionic'])
|
||||
</script>
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
</section>
|
||||
|
||||
<script src="../../../../dist/js/ionic.js"></script>
|
||||
<script src="../../../../dist/js/ionic-angular.js"></script>
|
||||
<script>
|
||||
var Controller = function(opts) {
|
||||
var _this = this;
|
||||
|
||||
@@ -12,12 +12,7 @@
|
||||
top: 0;
|
||||
}
|
||||
</style>
|
||||
<script src="../dist/js/ionic.js"></script>
|
||||
<script src="../dist/js/angular/angular.js"></script>
|
||||
<script src="../dist/js/angular/angular-sanitize.js"></script>
|
||||
<script src="../dist/js/angular/angular-animate.js"></script>
|
||||
<script src="../dist/js/angular-ui/angular-ui-router.js"></script>
|
||||
<script src="../dist/js/ionic-angular.js"></script>
|
||||
<script src="../dist/js/ionic.bundle.js"></script>
|
||||
<script>
|
||||
angular.module('ionicApp', ['ionic'])
|
||||
</script>
|
||||
|
||||
@@ -13,12 +13,7 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
<script src="../dist/js/ionic.js"></script>
|
||||
<script src="../dist/js/angular/angular.js"></script>
|
||||
<script src="../dist/js/angular/angular-sanitize.js"></script>
|
||||
<script src="../dist/js/angular/angular-animate.js"></script>
|
||||
<script src="../dist/js/angular-ui/angular-ui-router.js"></script>
|
||||
<script src="../dist/js/ionic-angular.js"></script>
|
||||
<script src="../dist/js/ionic.bundle.js"></script>
|
||||
<script>
|
||||
angular.module('ionicApp', ['ionic'])
|
||||
</script>
|
||||
@@ -589,9 +584,9 @@
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user