}
},
- // 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;
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 ) {
// manually clean up detached elements
$div.remove();
});
+
+ test("attrFn test", function() {
+ expect(1);
+ ok(!!jQuery.attrFn, "attrFnPresent");
+ });
+
}