Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

Commit

Permalink
bootstrap-sass-official → bootstrap-sass
Browse files Browse the repository at this point in the history
  • Loading branch information
silvenon committed Jun 27, 2015
1 parent 5c3a756 commit e8b8877
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ module.exports = generators.Base.extend({

if (this.includeBootstrap) {
if (this.includeSass) {
bowerJson.dependencies['bootstrap-sass-official'] = '~3.3.0';
bowerJson.dependencies['bootstrap-sass'] = '~3.3.0';
} else {
bowerJson.dependencies['bootstrap'] = '~3.3.0';
}
Expand Down Expand Up @@ -216,7 +216,7 @@ module.exports = generators.Base.extend({
// path prefix for Bootstrap JS files
if (this.includeBootstrap) {
if (this.includeSass) {
bsPath = '/bower_components/bootstrap-sass-official/assets/javascripts/bootstrap/';
bsPath = '/bower_components/bootstrap-sass/assets/javascripts/bootstrap/';
} else {
bsPath = '/bower_components/bootstrap/js/';
}
Expand Down
4 changes: 2 additions & 2 deletions app/templates/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ module.exports = function (grunt) {
app: {
ignorePath: /^<%%= config.app %>\/|\.\.\//,
src: ['<%%= config.app %>/index.html']<% if (includeBootstrap) { %>,<% if (includeSass) { %>
exclude: ['bower_components/bootstrap-sass-official/assets/javascripts/bootstrap.js']<% } else { %>
exclude: ['bower_components/bootstrap-sass/assets/javascripts/bootstrap.js']<% } else { %>
exclude: ['bower_components/bootstrap/dist/js/bootstrap.js']<% } } %>
}<% if (includeSass) { %>,
sass: {
Expand Down Expand Up @@ -379,7 +379,7 @@ module.exports = function (grunt) {
%>bower_components/bootstrap/dist<%
} %>',
src: '<% if (includeSass) {
%>bower_components/bootstrap-sass-official/assets/fonts/bootstrap/*<%
%>bower_components/bootstrap-sass/assets/fonts/bootstrap/*<%
} else {
%>fonts/*<%
} %>',
Expand Down
4 changes: 2 additions & 2 deletions app/templates/main.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<% if (includeBootstrap) { -%>
$icon-font-path: "../bower_components/bootstrap-sass-official/assets/fonts/bootstrap/";
$icon-font-path: "../bower_components/bootstrap-sass/assets/fonts/bootstrap/";

// bower:scss
@import "bootstrap-sass-official/assets/stylesheets/bootstrap.scss";
@import "bootstrap-sass/assets/stylesheets/bootstrap.scss";
// endbower

.browsehappy {
Expand Down
4 changes: 2 additions & 2 deletions docs/recipes/assemble.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ wiredep: {
ignorePath: /^\/|\.\.\//,
- src: ['<%= config.app %>/index.html'],
+ src: ['<%= config.app %>/templates/layouts/default.hbs'],
exclude: ['bower_components/bootstrap-sass-official/assets/javascripts/bootstrap.js']
exclude: ['bower_components/bootstrap-sass/assets/javascripts/bootstrap.js']
},
sass: {
src: ['<%= config.app %>/styles/{,*/}*.{scss,sass}'],
Expand Down Expand Up @@ -141,7 +141,7 @@ useminPrepare: {
dot: true,
cwd: '.',
dest: '<%= config.dist %>',
src: 'bower_components/bootstrap-sass-official/assets/fonts/bootstrap/*'
src: 'bower_components/bootstrap-sass/assets/fonts/bootstrap/*'
}]
}
},
Expand Down
4 changes: 2 additions & 2 deletions test/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ describe('bootstrap', function () {
});

it('uses Bootstrap Sass', function () {
assert.fileContent('bower.json', '"bootstrap-sass-official"');
assert.fileContent('Gruntfile.js', '/bootstrap-sass-official/');
assert.fileContent('bower.json', '"bootstrap-sass"');
assert.fileContent('Gruntfile.js', '/bootstrap-sass/');
});
});

Expand Down

0 comments on commit e8b8877

Please sign in to comment.