Skip to content

Commit caa15ca

Browse files
author
Florian Kissling
committed
Merge pull request #68 from fk/bootstrap3
bootstrap3: Add minified version, fixes #67.
2 parents 9bb70d0 + ad57405 commit caa15ca

File tree

8 files changed

+16
-31
lines changed

8 files changed

+16
-31
lines changed

Gruntfile.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ module.exports = function(grunt) {
2626
}
2727
},
2828

29+
cssmin: {
30+
target: {
31+
files: {
32+
'select2-bootstrap.min.css': 'select2-bootstrap.css'
33+
}
34+
}
35+
},
36+
2937
jshint: {
3038
all: ['Gruntfile.js', '*.json']
3139
},
@@ -76,6 +84,6 @@ module.exports = function(grunt) {
7684
});
7785

7886
// Default tasks.
79-
grunt.registerTask('build', ['sass', 'copy', 'shell:jekyllBuild']);
87+
grunt.registerTask('build', ['sass', 'cssmin', 'copy', 'shell:jekyllBuild']);
8088
grunt.registerTask('serve', ['shell:jekyllServe']);
8189
};

_jekyll/css/select2-bootstrap.css

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
/**
2-
* Select2 Bootstrap 3 CSS v1.4.4
3-
* Tested with Bootstrap v3.3.1 and Select2 v3.3.2, v3.4.1-v3.4.5, v3.5.1, v3.5.2, master
4-
* in latest Chrome, Safari, Firefox, Opera (Mac) and IE8-IE11
5-
* MIT License
6-
*/
1+
/*! Select2 Bootstrap 3 CSS v1.4.4 | MIT License | github.com/t0m/select2-bootstrap-css */
72
/**
83
* Reset Bootstrap 3 .form-control styles which - if applied to the
94
* original <select>-element the Select2-plugin may be run against -

docs/css/select2-bootstrap.css

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
/**
2-
* Select2 Bootstrap 3 CSS v1.4.4
3-
* Tested with Bootstrap v3.3.1 and Select2 v3.3.2, v3.4.1-v3.4.5, v3.5.1, v3.5.2, master
4-
* in latest Chrome, Safari, Firefox, Opera (Mac) and IE8-IE11
5-
* MIT License
6-
*/
1+
/*! Select2 Bootstrap 3 CSS v1.4.4 | MIT License | github.com/t0m/select2-bootstrap-css */
72
/**
83
* Reset Bootstrap 3 .form-control styles which - if applied to the
94
* original <select>-element the Select2-plugin may be run against -

lib/select2-bootstrap.less

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
/**
2-
* Select2 Bootstrap 3 CSS v1.4.4
3-
* Tested with Bootstrap v3.3.1 and Select2 v3.3.2, v3.4.1-v3.4.5, v3.5.1, v3.5.2, master
4-
* in latest Chrome, Safari, Firefox, Opera (Mac) and IE8-IE11
5-
* MIT License
6-
*/
1+
/*! Select2 Bootstrap 3 CSS v1.4.4 | MIT License | github.com/t0m/select2-bootstrap-css */
72

83
/**
94
* Reset Bootstrap 3 .form-control styles which - if applied to the

lib/select2-bootstrap.scss

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
/**
2-
* Select2 Bootstrap 3 CSS v1.4.4
3-
* Tested with Bootstrap v3.3.1 and Select2 v3.3.2, v3.4.1-v3.4.5, v3.5.1, v3.5.2, master
4-
* in latest Chrome, Safari, Firefox, Opera (Mac) and IE8-IE11
5-
* MIT License
6-
*/
1+
/*! Select2 Bootstrap 3 CSS v1.4.4 | MIT License | github.com/t0m/select2-bootstrap-css */
72

83
/**
94
* Reset Bootstrap 3 .form-control styles which - if applied to the

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"grunt": "~0.4.1",
2727
"grunt-bump": "0.0.11",
2828
"grunt-contrib-copy": "^0.7.0",
29+
"grunt-contrib-cssmin": "^0.11.0",
2930
"grunt-contrib-jshint": "~0.10.0",
3031
"grunt-contrib-nodeunit": "~0.4.1",
3132
"grunt-contrib-sass": "~0.8.1",

select2-bootstrap.css

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
/**
2-
* Select2 Bootstrap 3 CSS v1.4.4
3-
* Tested with Bootstrap v3.3.1 and Select2 v3.3.2, v3.4.1-v3.4.5, v3.5.1, v3.5.2, master
4-
* in latest Chrome, Safari, Firefox, Opera (Mac) and IE8-IE11
5-
* MIT License
6-
*/
1+
/*! Select2 Bootstrap 3 CSS v1.4.4 | MIT License | github.com/t0m/select2-bootstrap-css */
72
/**
83
* Reset Bootstrap 3 .form-control styles which - if applied to the
94
* original <select>-element the Select2-plugin may be run against -

select2-bootstrap.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)