Skip to content
Permalink
Browse files

Moved jQuery.props to attributes since it was only used in support. F…

…ixes #6897 - suggestion by dmethvin
  • Loading branch information
SlexAxton committed Oct 25, 2010
1 parent 9bd9ebd commit 086822e6419c89c33b322bacbbc891148a4b3647
Showing with 13 additions and 14 deletions.
  1. +13 −0 src/attributes.js
  2. +0 −14 src/support.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 );
@@ -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 );

0 comments on commit 086822e

Please sign in to comment.
You can’t perform that action at this time.