From 9476530fa1e39ce1324e98f4dbb79576895372e5 Mon Sep 17 00:00:00 2001 From: Brandon Aaron Date: Sun, 22 Mar 2009 15:06:58 +0000 Subject: [PATCH] moving some vars from manipulations.js to attributes.js --- src/attributes.js | 5 +++++ src/manipulation.js | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/attributes.js b/src/attributes.js index 8d5c222..7690c81 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 c2c0ff2..ce9b917 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 ) -- 1.7.10.4