Skip to content

Commit

Permalink
Merge branch '6897' of http://github.com/SlexAxton/jquery into SlexAx…
Browse files Browse the repository at this point in the history
…ton-6897
  • Loading branch information
jeresig committed Oct 25, 2010
2 parents 09022e0 + 086822e commit 7e4f88e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
13 changes: 13 additions & 0 deletions src/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down
14 changes: 0 additions & 14 deletions src/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 7e4f88e

Please sign in to comment.