moving some vars from manipulations.js to attributes.js

This commit is contained in:
Brandon Aaron 2009-03-22 15:06:58 +00:00
parent a974b255c3
commit 9476530fa1
2 changed files with 5 additions and 5 deletions

View 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 );

View 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 )