Skip to content

Commit 8cd0908

Browse files
committed
Add commonjs to build process and bump.
1 parent b541240 commit 8cd0908

File tree

7 files changed

+13
-10
lines changed

7 files changed

+13
-10
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery-smooth-scroll",
3-
"version": "1.5.4",
3+
"version": "1.5.5",
44
"dependencies": {
55
"jquery": ">=1.3"
66
},

jquery.smooth-scroll.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
2-
* jQuery Smooth Scroll - v1.5.4 - 2014-11-17
2+
* jQuery Smooth Scroll - v1.5.5 - 2015-02-19
33
* https://github.com/kswedberg/jquery-smooth-scroll
4-
* Copyright (c) 2014 Karl Swedberg
4+
* Copyright (c) 2015 Karl Swedberg
55
* Licensed MIT (https://github.com/kswedberg/jquery-smooth-scroll/blob/master/LICENSE-MIT)
66
*/
77

@@ -18,7 +18,7 @@
1818
}
1919
}(function ($) {
2020

21-
var version = '1.5.4',
21+
var version = '1.5.5',
2222
optionOverrides = {},
2323
defaults = {
2424
exclude: [],

jquery.smooth-scroll.min.js

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

lib/tmpl/umdhead.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
if (typeof define === 'function' && define.amd) {
33
// AMD. Register as an anonymous module.
44
define(['jquery'], factory);
5+
} else if (typeof module === 'object' && module.exports) {
6+
// CommonJS
7+
factory(require('jquery'));
58
} else {
69
// Browser globals
710
factory(jQuery);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jquery-smooth-scroll",
33
"title": "jQuery Smooth Scroll",
4-
"version": "1.5.4",
4+
"version": "1.5.5",
55
"scripts": {},
66
"main": "jquery.smooth-scroll.js",
77
"author": {

smooth-scroll.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "smooth-scroll",
3-
"version": "1.5.4",
3+
"version": "1.5.5",
44
"title": "Smooth Scroll",
55
"description": "Easy implementation of smooth scrolling for same-page links",
66
"author": {

src/jquery.smooth-scroll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(function($) {
2-
var version = '1.5.4',
2+
var version = '1.5.5',
33
optionOverrides = {},
44
defaults = {
55
exclude: [],

0 commit comments

Comments
 (0)