Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add check for jQuery slim version #28

Merged
merged 2 commits into from
Oct 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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