Skip to content
Permalink
Browse files

moving some vars from manipulations.js to attributes.js

  • Loading branch information
brandonaaron committed Mar 22, 2009
1 parent a974b25 commit 9476530fa1e39ce1324e98f4dbb79576895372e5
Showing with 5 additions and 5 deletions.
  1. +5 −0 src/attributes.js
  2. +0 −5 src/manipulation.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 );
@@ -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 )

0 comments on commit 9476530

Please sign in to comment.
You can’t perform that action at this time.