diff options
author | Gianni Chiappetta <gianni@runlevel6.org> | 2010-12-15 18:31:10 -0500 |
---|---|---|
committer | Gianni Chiappetta <gianni@runlevel6.org> | 2010-12-15 18:31:10 -0500 |
commit | 5b1b57850cfd4c92a4f9231581dff7faac489566 (patch) | |
tree | 2fd550c6d06b7ce01b0e03a92c07a485d48f94ad /src/core.js | |
parent | 9f8cd6c499844451468257140e71f611abb3a040 (diff) | |
download | jquery-5b1b57850cfd4c92a4f9231581dff7faac489566.tar.gz jquery-5b1b57850cfd4c92a4f9231581dff7faac489566.zip |
Add a quick test to $.support for native bind.
As per the suggestion by ajpiano: https://github.com/gf3/jquery/commit/9f8cd6c499844451468257140e71f611abb3a040#commitcomment-218658
Diffstat (limited to 'src/core.js')
-rw-r--r-- | src/core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js index 74ec4ea03..a6e2a46f8 100644 --- a/src/core.js +++ b/src/core.js @@ -751,7 +751,7 @@ jQuery.extend({ return undefined; } - if ( jQuery.isFunction( Function.prototype.bind ) ) { + if ( jQuery.support.nativeBind ) { // Native bind args = slice.call( arguments, 1 ); proxy = Function.prototype.bind.apply( fn, args ); |