aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2011-04-10 16:51:22 -0400
committerjeresig <jeresig@gmail.com>2011-04-10 16:51:22 -0400
commit14ecd9a992fe97461297bb9c2fd55aa669f1e2e8 (patch)
treea5366eb9e5cc789d44c6e4ae92fd3ca373c22d4e /src/support.js
parent909a6ff60a88b17155bc000ab49d02c2dd6938f2 (diff)
parent574ae3b1be555dbd5242532739cd8e0a34e0569c (diff)
downloadjquery-14ecd9a992fe97461297bb9c2fd55aa669f1e2e8.tar.gz
jquery-14ecd9a992fe97461297bb9c2fd55aa669f1e2e8.zip
Merge branch 'proxy-native-bind' of https://github.com/gf3/jquery into gf3-proxy-native-bind
Diffstat (limited to 'src/support.js')
-rw-r--r--src/support.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/support.js b/src/support.js
index 10696aabd..2d7bc7caa 100644
--- a/src/support.js
+++ b/src/support.js
@@ -75,6 +75,10 @@ jQuery.support = (function() {
// Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7)
getSetAttribute: div.className !== "t",
+ // Test for presence of native Function#bind.
+ // Not in: >= Chrome 6, >= FireFox 3, Safari 5?, IE 9?, Opera 11?
+ nativeBind: jQuery.isFunction( Function.prototype.bind ),
+
// Will be defined later
submitBubbles: true,
changeBubbles: true,