Skip to content

Commit 1f0fb3f

Browse files
committed
Remove bower.json
1 parent d36b22b commit 1f0fb3f

File tree

5 files changed

+10
-47
lines changed

5 files changed

+10
-47
lines changed

.gitattributes

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Export-ignore files (GitHub download link, composer [--prefer-dist])
2-
# Dont add bower.json, otherwise it is not loaded in the Bower package
32
docs export-ignore
4-
.* export-ignore
3+
.travis export-ignore
54
Gruntfile.js export-ignore
65
README.md export-ignore
76
package.json export-ignore

Gruntfile.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,13 @@ module.exports = function(grunt) {
171171
'usebanner'
172172
]);
173173

174-
grunt.registerTask('prep-release', [
175-
'default',
174+
grunt.registerTask('docs', [
176175
'ejs',
177176
'less',
178-
'copy:assets',
177+
'copy:assets'
178+
]);
179+
180+
grunt.registerTask('release-zip', [
179181
'compress'
180182
]);
181183
};

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ Several quick start options are available:
1414
* Clone the repo: `git clone https://github.com/vsn4ik/bootstrap-checkbox.git`.
1515
* Install with [npm](https://www.npmjs.com): `npm install bootstrap-checkbox`.
1616
* Install with [yarn](https://yarnpkg.com): `yarn add bootstrap-checkbox`.
17-
* Install with [Bower](https://bower.io): `bower install bootstrap-checkbox` (deprecated on v1.4.1, removed on 2018'Q2).
18-
* Install with [Composer](https://getcomposer.org): `composer require vsn4ik/bootstrap-checkbox "dev-master"` (deprecated on v.1.4.1, removed on 2018'Q2).
17+
* Install with [Composer](https://getcomposer.org): `composer require vsn4ik/bootstrap-checkbox "dev-master"` (deprecated on v.1.4.1).
1918

2019
### What's included
2120

bower.json

Lines changed: 0 additions & 35 deletions
This file was deleted.

js/bootstrap-checkbox.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@
77
'use strict';
88

99
(function(factory) {
10-
if (typeof define == 'function' && define.amd) {
10+
if (typeof define === 'function' && define.amd) {
1111
// AMD. Register as an anonymous module
1212
define(['jquery'], factory);
13-
}
14-
else if (typeof exports == 'object') {
13+
} else if (typeof exports === 'object') {
1514
// Node/CommonJS
1615
module.exports = factory(require('jquery'));
17-
}
18-
else {
16+
} else {
1917
// Browser globals
2018
factory(jQuery);
2119
}

0 commit comments

Comments
 (0)