mirror of
https://github.com/jquery/jquery.git
synced 2026-02-07 00:34:59 -05:00
Moved attrFN to deprecated. Close gh-977.
This commit is contained in:
committed by
Dave Methvin
parent
6eacf67e30
commit
78617f067a
@@ -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;
|
||||
|
||||
|
||||
@@ -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 ) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user