File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,16 @@ Generator.prototype.extraModules = function extraModules() {
205205 }
206206} ;
207207
208+ Generator . prototype . appJs = function appJs ( ) {
209+ this . indexFile = this . appendFiles ( {
210+ html : this . indexFile ,
211+ fileType : 'js' ,
212+ optimizedPath : 'scripts/scripts.js' ,
213+ sourceFileList : [ 'scripts/app.js' , 'scripts/controllers/main.js' ] ,
214+ searchPath : [ '.tmp' , 'app' ]
215+ } ) ;
216+ } ;
217+
208218Generator . prototype . createIndexHtml = function createIndexHtml ( ) {
209219 this . write ( path . join ( this . appPath , 'index.html' ) , this . indexFile ) ;
210220} ;
Original file line number Diff line number Diff line change 3434
3535 < script src ="bower_components/jquery/jquery.js "> </ script >
3636 < script src ="bower_components/angular/angular.js "> </ script >
37-
38- <!-- build:js({.tmp,app}) scripts/scripts.js -->
39- < script src ="scripts/app.js "> </ script >
40- < script src ="scripts/controllers/main.js "> </ script >
41- <!-- endbuild -->
4237 </ body >
4338</ html >
You can’t perform that action at this time.
0 commit comments