moving some vars from manipulations.js to attributes.js
authorBrandon Aaron <brandon.aaron@gmail.com>
Sun, 22 Mar 2009 15:06:58 +0000 (15:06 +0000)
committerBrandon Aaron <brandon.aaron@gmail.com>
Sun, 22 Mar 2009 15:06:58 +0000 (15:06 +0000)
src/attributes.js
src/manipulation.js

index 8d5c222..7690c81 100644 (file)
@@ -1,3 +1,8 @@
+// exclude the following css properties to add px
+var exclude = /z-?index|font-?weight|opacity|zoom|line-?height/i,
+       // cache defaultView
+       defaultView = document.defaultView || {};
+
 jQuery.fn.extend({
        attr: function( name, value, type ) {
                var options = name, isFunction = jQuery.isFunction( value );
index c2c0ff2..ce9b917 100644 (file)
@@ -1,8 +1,3 @@
-// exclude the following css properties to add px
-var exclude = /z-?index|font-?weight|opacity|zoom|line-?height/i,
-       // cache defaultView
-       defaultView = document.defaultView || {};
-
 jQuery.fn.extend({
        text: function( text ) {
                if ( typeof text !== "object" && text != null )