aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/attributes.js5
-rw-r--r--src/manipulation.js5
2 files changed, 5 insertions, 5 deletions
diff --git a/src/attributes.js b/src/attributes.js
index 8d5c2229c..7690c8117 100644
--- a/src/attributes.js
+++ b/src/attributes.js
@@ -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 );
diff --git a/src/manipulation.js b/src/manipulation.js
index c2c0ff2a7..ce9b91791 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -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 )