@@ -179,13 +179,12 @@ Generator.prototype.bootstrapFiles = function bootstrapFiles() {
179179 var files = [ ] ;
180180 var source = 'styles/' + ( sass ? 's' : '' ) + 'css/' ;
181181
182- if ( this . bootstrap ) {
183- if ( ! sass ) {
184- files . push ( 'bootstrap.css' ) ;
185- }
186-
187- this . copy ( 'images/glyphicons-halflings.png' , 'app/images/glyphicons-halflings.png' ) ;
188- this . copy ( 'images/glyphicons-halflings-white.png' , 'app/images/glyphicons-halflings-white.png' ) ;
182+ if ( this . bootstrap && ! sass ) {
183+ files . push ( 'bootstrap.css' ) ;
184+ this . copy ( 'fonts/glyphicons-halflings-regular.eot' , 'app/fonts/glyphicons-halflings-regular.eot' ) ;
185+ this . copy ( 'fonts/glyphicons-halflings-regular.ttf' , 'app/fonts/glyphicons-halflings-regular.ttf' ) ;
186+ this . copy ( 'fonts/glyphicons-halflings-regular.svg' , 'app/fonts/glyphicons-halflings-regular.svg' ) ;
187+ this . copy ( 'fonts/glyphicons-halflings-regular.woff' , 'app/fonts/glyphicons-halflings-regular.woff' ) ;
189188 }
190189
191190 files . push ( 'main.' + ( sass ? 's' : '' ) + 'css' ) ;
@@ -212,19 +211,18 @@ Generator.prototype.bootstrapJS = function bootstrapJS() {
212211
213212 // Wire Twitter Bootstrap plugins
214213 this . indexFile = this . appendScripts ( this . indexFile , 'scripts/plugins.js' , [
215- 'bower_components/bootstrap-sass/js/bootstrap-affix.js' ,
216- 'bower_components/bootstrap-sass/js/bootstrap-alert.js' ,
217- 'bower_components/bootstrap-sass/js/bootstrap-dropdown.js' ,
218- 'bower_components/bootstrap-sass/js/bootstrap-tooltip.js' ,
219- 'bower_components/bootstrap-sass/js/bootstrap-modal.js' ,
220- 'bower_components/bootstrap-sass/js/bootstrap-transition.js' ,
221- 'bower_components/bootstrap-sass/js/bootstrap-button.js' ,
222- 'bower_components/bootstrap-sass/js/bootstrap-popover.js' ,
223- 'bower_components/bootstrap-sass/js/bootstrap-typeahead.js' ,
224- 'bower_components/bootstrap-sass/js/bootstrap-carousel.js' ,
225- 'bower_components/bootstrap-sass/js/bootstrap-scrollspy.js' ,
226- 'bower_components/bootstrap-sass/js/bootstrap-collapse.js' ,
227- 'bower_components/bootstrap-sass/js/bootstrap-tab.js'
214+ 'bower_components/sass-bootstrap/js/affix.js' ,
215+ 'bower_components/sass-bootstrap/js/alert.js' ,
216+ 'bower_components/sass-bootstrap/js/button.js' ,
217+ 'bower_components/sass-bootstrap/js/carousel.js' ,
218+ 'bower_components/sass-bootstrap/js/collapse.js' ,
219+ 'bower_components/sass-bootstrap/js/dropdown.js' ,
220+ 'bower_components/sass-bootstrap/js/modal.js' ,
221+ 'bower_components/sass-bootstrap/js/popover.js' ,
222+ 'bower_components/sass-bootstrap/js/scrollspy.js' ,
223+ 'bower_components/sass-bootstrap/js/tab.js' ,
224+ 'bower_components/sass-bootstrap/js/tooltip.js' ,
225+ 'bower_components/sass-bootstrap/js/transition.js' ,
228226 ] ) ;
229227} ;
230228
0 commit comments