From: John Resig Date: Mon, 25 Oct 2010 20:06:23 +0000 (-0700) Subject: Merge branch '6897' of http://github.com/SlexAxton/jquery into SlexAxton-6897 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=7e4f88e20639ee7b4c360b0b4636ece0c0984bd2;hp=09022e0b09db71259751e7146bb64727615028af;p=jquery.git Merge branch '6897' of github.com/SlexAxton/jquery into SlexAxton-6897 --- diff --git a/src/attributes.js b/src/attributes.js index 147c353..4393a9f 100644 --- a/src/attributes.js +++ b/src/attributes.js @@ -9,6 +9,19 @@ var rclass = /[\n\t]/g, rclickable = /^a(?:rea)?$/i, rradiocheck = /^(?:radio|checkbox)$/i; +jQuery.props = { + "for": "htmlFor", + "class": "className", + readonly: "readOnly", + maxlength: "maxLength", + cellspacing: "cellSpacing", + rowspan: "rowSpan", + colspan: "colSpan", + tabindex: "tabIndex", + usemap: "useMap", + frameborder: "frameBorder" +}; + jQuery.fn.extend({ attr: function( name, value ) { return jQuery.access( this, name, value, true, jQuery.attr ); diff --git a/src/support.js b/src/support.js index b9c10c7..67b41c4 100644 --- a/src/support.js +++ b/src/support.js @@ -193,18 +193,4 @@ // release memory in IE root = script = div = all = a = null; })(); - -jQuery.props = { - "for": "htmlFor", - "class": "className", - readonly: "readOnly", - maxlength: "maxLength", - cellspacing: "cellSpacing", - rowspan: "rowSpan", - colspan: "colSpan", - tabindex: "tabIndex", - usemap: "useMap", - frameborder: "frameBorder" -}; - })( jQuery );