From 9476530fa1e39ce1324e98f4dbb79576895372e5 Mon Sep 17 00:00:00 2001 From: Brandon Aaron Date: Sun, 22 Mar 2009 15:06:58 +0000 Subject: moving some vars from manipulations.js to attributes.js --- src/attributes.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/attributes.js') 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 ); -- cgit v1.2.3