@@ -75,14 +75,14 @@ Generator.prototype.askForBootstrap = function askForBootstrap() {
7575 this . prompt ( {
7676 name : 'bootstrap' ,
7777 message : 'Would you like to include Twitter Bootstrap?' ,
78- default : 'Y/n' ,
78+ default : true ,
7979 warning : 'Yes: All Twitter Bootstrap files will be placed into the styles directory.'
8080 } , function ( err , props ) {
8181 if ( err ) {
8282 return this . emit ( 'error' , err ) ;
8383 }
8484
85- this . bootstrap = ( / y / i ) . test ( props . bootstrap ) ;
85+ this . bootstrap = props . bootstrap ;
8686
8787 cb ( ) ;
8888 } . bind ( this ) ) ;
@@ -98,14 +98,14 @@ Generator.prototype.askForCompass = function askForCompass() {
9898 this . prompt ( {
9999 name : 'compassBootstrap' ,
100100 message : 'If so, would you like to use Twitter Bootstrap for Compass (as opposed to vanilla CSS)?' ,
101- default : 'Y/n' ,
101+ default : true ,
102102 warning : 'Yes: All Twitter Bootstrap files will be placed into the styles directory.'
103103 } , function ( err , props ) {
104104 if ( err ) {
105105 return this . emit ( 'error' , err ) ;
106106 }
107107
108- this . compassBootstrap = ( / y / i ) . test ( props . compassBootstrap ) ;
108+ this . compassBootstrap = props . compassBootstrap ;
109109
110110 cb ( ) ;
111111 } . bind ( this ) ) ;
@@ -117,17 +117,17 @@ Generator.prototype.askForModules = function askForModules() {
117117 var prompts = [ {
118118 name : 'resourceModule' ,
119119 message : 'Would you like to include angular-resource.js?' ,
120- default : 'Y/n' ,
120+ default : true ,
121121 warning : 'Yes: angular-resource added to bower.json'
122122 } , {
123123 name : 'cookiesModule' ,
124124 message : 'Would you like to include angular-cookies.js?' ,
125- default : 'Y/n' ,
125+ default : true ,
126126 warning : 'Yes: angular-cookies added to bower.json'
127127 } , {
128128 name : 'sanitizeModule' ,
129129 message : 'Would you like to include angular-sanitize.js?' ,
130- default : 'Y/n' ,
130+ default : true ,
131131 warning : 'Yes: angular-sanitize added to bower.json'
132132 } ] ;
133133
@@ -136,9 +136,9 @@ Generator.prototype.askForModules = function askForModules() {
136136 return this . emit ( 'error' , err ) ;
137137 }
138138
139- this . resourceModule = ( / y / i ) . test ( props . resourceModule ) ;
140- this . cookiesModule = ( / y / i ) . test ( props . cookiesModule ) ;
141- this . sanitizeModule = ( / y / i ) . test ( props . sanitizeModule ) ;
139+ this . resourceModule = props . resourceModule ;
140+ this . cookiesModule = props . cookiesModule ;
141+ this . sanitizeModule = props . sanitizeModule ;
142142
143143 cb ( ) ;
144144 } . bind ( this ) ) ;
0 commit comments