Commit 37e8b448 authored by Dave Methvin's avatar Dave Methvin

Add back a sacrificial $.attrFn object.

Originally removed in 86b775d0 as part of the enhancement that allows $(html, props) to use any $.fn method.

Although $.attrFn is undocumented it appears to be a poorly kept secret. jQuery Mobile 1.1 is using it and it's the topic of several blog/StackOverflow posts. Leave an empty object here as a dumpster for now, but it's coming out for good in 1.9.
parent 5f3c36c7
...@@ -282,6 +282,9 @@ jQuery.extend({ ...@@ -282,6 +282,9 @@ 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, var ret, hooks, notxml,
nType = elem.nodeType; nType = elem.nodeType;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment