Skip to content

Commit

Permalink
moving some vars from manipulations.js to attributes.js
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonaaron committed Mar 22, 2009
1 parent a974b25 commit 9476530
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions 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 );
Expand Down
5 changes: 0 additions & 5 deletions 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 )
Expand Down

0 comments on commit 9476530

Please sign in to comment.