Skip to content

Commit

Permalink
Merge pull request #28 from dwebbuilder/master
Browse files Browse the repository at this point in the history
Add check for jQuery slim version
  • Loading branch information
gdsmith authored Oct 10, 2017
2 parents fdf871b + 4832b3e commit 17566b3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jquery.easing",
"main": "jquery.easing.js",
"version": "1.4.0",
"version": "1.4.1",
"homepage": "https://github.com/gdsmith/jquery.easing",
"authors": [
"George McGinley Smith <george@gsgd.co.uk>"
Expand Down
6 changes: 4 additions & 2 deletions jquery.easing.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* jQuery Easing v1.4.0 - http://gsgd.co.uk/sandbox/jquery/easing/
* jQuery Easing v1.4.1 - http://gsgd.co.uk/sandbox/jquery/easing/
* Open source under the BSD License.
* Copyright © 2008 George McGinley Smith
* All rights reserved.
Expand All @@ -19,7 +19,9 @@
})(function($){

// Preserve the original jQuery "swing" easing as "jswing"
$.easing['jswing'] = $.easing['swing'];
if (typeof $.easing !== 'undefined') {
$.easing['jswing'] = $.easing['swing'];
}

var pow = Math.pow,
sqrt = Math.sqrt,
Expand Down
2 changes: 1 addition & 1 deletion jquery.easing.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery.easing",
"version": "1.4.0",
"version": "1.4.1",
"homepage": "https://github.com/gdsmith/jquery.easing",
"description": "A jQuery plugin from GSGD to give advanced easing options",
"author": {
Expand Down

0 comments on commit 17566b3

Please sign in to comment.