aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAkintayo Akinwunmi <aakinwunmi@judge.com>2012-10-16 09:51:01 -0400
committerDave Methvin <dave.methvin@gmail.com>2012-10-16 10:01:18 -0400
commit78617f067a0e03d9fe9aad135bbdfba880ddf968 (patch)
tree0191310fb0b7db6d723e9ffaff513fc2a4a7550c /src
parent6eacf67e306f7ed60b8468bbc43013e730594de6 (diff)
downloadjquery-78617f067a0e03d9fe9aad135bbdfba880ddf968.tar.gz
jquery-78617f067a0e03d9fe9aad135bbdfba880ddf968.zip
Moved attrFN to deprecated. Close gh-977.
Diffstat (limited to 'src')
-rw-r--r--src/attributes.js5
-rw-r--r--src/deprecated.js3
2 files changed, 4 insertions, 4 deletions
diff --git a/src/attributes.js b/src/attributes.js
index 76aed2996..5a6749982 100644
--- a/src/attributes.js
+++ b/src/attributes.js
@@ -276,10 +276,7 @@ jQuery.extend({
}
},
- // Unused in 1.8, left in so attrFn-stabbers won't die; remove in 1.9
- attrFn: {},
-
- attr: function( elem, name, value, pass ) {
+ attr: function( elem, name, value, pass ) {
var ret, hooks, notxml,
nType = elem.nodeType;
diff --git a/src/deprecated.js b/src/deprecated.js
index 241eb2a81..4ea47b333 100644
--- a/src/deprecated.js
+++ b/src/deprecated.js
@@ -60,6 +60,9 @@ jQuery.sub = function() {
return jQuerySub;
};
+// Unused in 1.8, left in so attrFn-stabbers won't die; remove in 1.9
+jQuery.attrFn = {};
+
var oldToggle = jQuery.fn.toggle;
jQuery.fn.toggle = function( fn, fn2 ) {