Skip to content

Commit b67b9da

Browse files
author
Maciej Gurban
committed
CommonJS exports
1 parent 6a91ae7 commit b67b9da

File tree

5 files changed

+19
-5
lines changed

5 files changed

+19
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
### Changelog
22

3+
**2.6.1**
4+
Adding CommonJS exports.
5+
6+
**2.6.0**
7+
Registering the package in NPM registry and adding gulp build setup.
8+
39
**2.5.1**
410
Delaying the injection of visibility div container into `body` until `$(document).ready()`, and thus allowing the inclusion of library inside `<head>` section.
511

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Responsive Bootstrap Toolkit provides an easy way of breakpoint detection in JavaScript, detecting changes in currently active breakpoint, as well as executing any breakpoint-specific JavaScript code. Despite the name, you can use it also with Foundation, or any other framework.
44

5-
Current version: **2.6.0**
5+
Current version: **2.6.1**
66

77
### Documentation
88
* [Installation](#installation)

dist/bootstrap-toolkit.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Responsive Bootstrap Toolkit
33
* Author: Maciej Gurban
44
* License: MIT
5-
* Version: 2.6.0 (2015-11-02)
5+
* Version: 2.6.1 (2015-06-20)
66
* Origin: https://github.com/maciej-gurban/responsive-bootstrap-toolkit
77
*/
88
var ResponsiveBootstrapToolkit = (function($){
@@ -232,3 +232,7 @@ var ResponsiveBootstrapToolkit = (function($){
232232
return self;
233233

234234
})(jQuery);
235+
236+
if (module && module.exports) {
237+
module.exports = ResponsiveBootstrapToolkit;
238+
}

dist/bootstrap-toolkit.min.js

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

src/bootstrap-toolkit.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Responsive Bootstrap Toolkit
33
* Author: Maciej Gurban
44
* License: MIT
5-
* Version: 2.6.0 (2015-11-02)
5+
* Version: 2.6.1 (2015-06-20)
66
* Origin: https://github.com/maciej-gurban/responsive-bootstrap-toolkit
77
*/
88
var ResponsiveBootstrapToolkit = (function($){
@@ -232,3 +232,7 @@ var ResponsiveBootstrapToolkit = (function($){
232232
return self;
233233

234234
})(jQuery);
235+
236+
if (module && module.exports) {
237+
module.exports = ResponsiveBootstrapToolkit;
238+
}

0 commit comments

Comments
 (0)