Skip to content

Restore and warn on arity of jQuery.easing functions #139

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

Closed
wants to merge 3 commits into from

Conversation

markelog
Copy link
Member

Uses Function#bind, so it has obvious downside, but it seems acceptable for migrate plugin.

/cc @gnarf

Watches only `src/*.js` & `test/*.js`
@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @dmethvin, @mgol and @jzaefferer to be potential reviewers

@@ -0,0 +1,18 @@
var old = jQuery.Tween.prototype.run;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to use a more unique name like oldRun here. If another module accidentally declared old it should be found by JSHint but it might be confusing to figure it out.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, for some reason i thought modules are incapsulated with iffy


### JQMIGRATE: jQuery.fn.live() is deprecated; jQuery.fn.die() is deprecated

**Cause:** The `.live()` and `.die()` methods were deprecated in 1.7 due to their [performance and usability drawbacks](http://api.jquery.com/live), and are no longer supported.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope those whitespace removal are okay, my editor does it by default

@markelog
Copy link
Member Author

markelog commented Feb 2, 2016

@dmethvin done

Uses Function#bind, so it has obvious downside, but it seems
acceptable for migrate plugin

Fixes jquery#111
@@ -1,43 +1,44 @@
{
"name": "jquery-migrate",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spacing changed by the npm --save-dev command, now it correlates with .editorconfig value

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah no problem there, I am surprised that indentation survived for so long. 😄

It doesn't do what you expected it to do

See npm/npm#10074 for more info

### JQMIGRATE: Additional params for 'jQuery.easing' functions are not documented and redundant

**Cause**: Additional params for 'jQuery.easing' methods were never documented and redundant, same behaviour could be easily achived by other means.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

behavior (American spelling)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, chaps from the old country will be so disappointed :)

@dmethvin
Copy link
Member

dmethvin commented Feb 2, 2016

LGTM after the spelling fix.

@markelog markelog closed this in 2d54ddb Feb 3, 2016
@mgol
Copy link
Member

mgol commented Feb 3, 2016

Btw, achived is a typo as well.

@markelog
Copy link
Member Author

markelog commented Feb 3, 2016

Fixed, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants