]> source.dussan.org Git - jquery.git/commitdiff
Moved jQuery.props to attributes since it was only used in support. Fixes #6897 ... 72/head
authorAlex Sexton <AlexSexton@gmail.com>
Mon, 25 Oct 2010 07:31:19 +0000 (02:31 -0500)
committerAlex Sexton <AlexSexton@gmail.com>
Mon, 25 Oct 2010 07:31:19 +0000 (02:31 -0500)
src/attributes.js
src/support.js

index 147c353f4219a14cce5a9da3674818fef583b18f..4393a9fdbc38a449f279d752a83e218db8ab3efb 100644 (file)
@@ -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 );
index b9c10c7a208fa03a260c5b8e5e886d13fa6a98c9..67b41c4a7a34b79b347ea2a21a7f92c916837fad 100644 (file)
        // 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 );