From: Brandon Aaron Date: Sun, 22 Mar 2009 15:06:58 +0000 (+0000) Subject: moving some vars from manipulations.js to attributes.js X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=9476530fa1e39ce1324e98f4dbb79576895372e5 moving some vars from manipulations.js to attributes.js --- 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 )