Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

chore(Angular.js): Use call and === instead of apply and ==#5295

Closed
kseamon wants to merge 1 commit intoangular:masterfrom
kseamon:angular-js-micro
Closed

chore(Angular.js): Use call and === instead of apply and ==#5295
kseamon wants to merge 1 commit intoangular:masterfrom
kseamon:angular-js-micro

Conversation

@kseamon
Copy link
Copy Markdown
Contributor

@kseamon kseamon commented Dec 5, 2013

chore(Angular.js): Use call and === instead of apply and == in type check functions

Updates isDate et al to use call instead of apply and === instead of ==.
The change to call brings minor performance improvement and === is just better practice than ==.
http://jsperf.com/call-vs-apply-tostring

…heck functions

Updates isDate et al to use call instead of apply and === instead of ==.
The change to call brings minor performance improvement and === is just
better practice than ==.
http://jsperf.com/call-vs-apply-tostring
@mary-poppins
Copy link
Copy Markdown

Thanks for the PR!

  • Contributor signed CLA now or in the past
    • If you just signed, leave a comment here with your real name
  • PR's commit messages follow the commit message format

If you need to make changes to your pull request, you can update the commit with git commit --amend.
Then, update the pull request with git push -f.

Thanks again for your help!

@ghost ghost assigned IgorMinar Dec 5, 2013
@IgorMinar IgorMinar closed this in 785a5fd Dec 6, 2013
IgorMinar pushed a commit that referenced this pull request Dec 13, 2013
Updates isDate et al to use call instead of apply and === instead of ==.
The change to call brings minor performance improvement and === is just
better practice than ==.
http://jsperf.com/call-vs-apply-tostring

Closes #5295
jamesdaily pushed a commit to jamesdaily/angular.js that referenced this pull request Jan 27, 2014
…heck functions

Updates isDate et al to use call instead of apply and === instead of ==.
The change to call brings minor performance improvement and === is just
better practice than ==.
http://jsperf.com/call-vs-apply-tostring

Closes angular#5295
jamesdaily pushed a commit to jamesdaily/angular.js that referenced this pull request Jan 27, 2014
Updates isDate et al to use call instead of apply and === instead of ==.
The change to call brings minor performance improvement and === is just
better practice than ==.
http://jsperf.com/call-vs-apply-tostring

Closes angular#5295
jamesdaily pushed a commit to jamesdaily/angular.js that referenced this pull request Jan 27, 2014
…heck functions

Updates isDate et al to use call instead of apply and === instead of ==.
The change to call brings minor performance improvement and === is just
better practice than ==.
http://jsperf.com/call-vs-apply-tostring

Closes angular#5295
jamesdaily pushed a commit to jamesdaily/angular.js that referenced this pull request Jan 27, 2014
Updates isDate et al to use call instead of apply and === instead of ==.
The change to call brings minor performance improvement and === is just
better practice than ==.
http://jsperf.com/call-vs-apply-tostring

Closes angular#5295
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants