Skip to content

Commit 4340d6c

Browse files
committed
Merge pull request #429 from passy/bootstrap-3
feat(app): upgrade to Bootstrap 3.0.1
2 parents 4a80967 + 59f4b1b commit 4340d6c

File tree

13 files changed

+4921
-4471
lines changed

13 files changed

+4921
-4471
lines changed

app/index.js

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -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

13.7 KB
Binary file not shown.

app/templates/fonts/glyphicons-halflings-regular.svg

Lines changed: 228 additions & 0 deletions
Loading
28.8 KB
Binary file not shown.
16.1 KB
Binary file not shown.
-8.57 KB
Binary file not shown.
-12.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)