Skip to content

Commit 9e425df

Browse files
committed
Merge pull request #31 from lusini/master
fix variable name within make-xs-column mixin
2 parents 31ba4a4 + d228409 commit 9e425df

File tree

2 files changed

+23
-22
lines changed

2 files changed

+23
-22
lines changed

Gruntfile.js

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,14 @@ module.exports = function(grunt) {
3232
use: [
3333
require('nib')
3434
]
35-
},
36-
import: [
37-
'nib'
38-
],
39-
files: {
40-
'dist/theme.css': 'stylus/theme.styl' // 1:1 compile
41-
}
35+
},
36+
import: [
37+
'nib'
38+
],
39+
files: {
40+
'dist/theme.css': 'stylus/theme.styl' // 1:1 compile
4241
}
43-
42+
}
4443
},
4544

4645
watch: {
@@ -73,18 +72,20 @@ module.exports = function(grunt) {
7372
uglify: {
7473
dist: {
7574
files: {
76-
'dist/bootstrap.min.js': ['js/transition.js',
77-
'js/alert.js',
78-
'js/button.js',
79-
'js/carousel.js',
80-
'js/collapse.js',
81-
'js/dropdown.js',
82-
'js/modal.js',
83-
'js/tooltip.js',
84-
'js/popover.js',
85-
'js/scrollspy.js',
86-
'js/tab.js',
87-
'js/affix.js']
75+
'dist/bootstrap.min.js': [
76+
'js/transition.js',
77+
'js/alert.js',
78+
'js/button.js',
79+
'js/carousel.js',
80+
'js/collapse.js',
81+
'js/dropdown.js',
82+
'js/modal.js',
83+
'js/tooltip.js',
84+
'js/popover.js',
85+
'js/scrollspy.js',
86+
'js/tab.js',
87+
'js/affix.js'
88+
]
8889
}
8990
}
9091
},
@@ -102,4 +103,4 @@ module.exports = function(grunt) {
102103
grunt.registerTask('theme', ['stylus:theme', 'cssmin:theme']);
103104
grunt.registerTask('watch', ['stylus:bootstrap', 'watch:css']);
104105
grunt.registerTask('build', ['clean','stylus:bootstrap', 'stylus:theme', 'cssmin:bootstrap', 'cssmin:theme', 'uglify']);
105-
};
106+
};

stylus/mixins.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ make-row(gutter = $grid-gutter-width) {
542542
make-xs-column(columns, gutter = $grid-gutter-width) {
543543
position: relative;
544544
float: left;
545-
width: percentage(columns, grid-columns)
545+
width: percentage(columns, $grid-columns)
546546
// Prevent columns from collapsing when empty
547547
min-height: 1px;
548548
// Inner gutter via padding

0 commit comments

Comments
 (0)