Skip to content

Commit 17566b3

Browse files
authored
Merge pull request #28 from dwebbuilder/master
Add check for jQuery slim version
2 parents fdf871b + 4832b3e commit 17566b3

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jquery.easing",
33
"main": "jquery.easing.js",
4-
"version": "1.4.0",
4+
"version": "1.4.1",
55
"homepage": "https://github.com/gdsmith/jquery.easing",
66
"authors": [
77
"George McGinley Smith <[email protected]>"

jquery.easing.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* jQuery Easing v1.4.0 - http://gsgd.co.uk/sandbox/jquery/easing/
2+
* jQuery Easing v1.4.1 - http://gsgd.co.uk/sandbox/jquery/easing/
33
* Open source under the BSD License.
44
* Copyright © 2008 George McGinley Smith
55
* All rights reserved.
@@ -19,7 +19,9 @@
1919
})(function($){
2020

2121
// Preserve the original jQuery "swing" easing as "jswing"
22-
$.easing['jswing'] = $.easing['swing'];
22+
if (typeof $.easing !== 'undefined') {
23+
$.easing['jswing'] = $.easing['swing'];
24+
}
2325

2426
var pow = Math.pow,
2527
sqrt = Math.sqrt,

jquery.easing.min.js

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery.easing",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"homepage": "https://github.com/gdsmith/jquery.easing",
55
"description": "A jQuery plugin from GSGD to give advanced easing options",
66
"author": {

0 commit comments

Comments
 (0)