moving some vars from manipulations.js to attributes.js
This commit is contained in:
parent
a974b255c3
commit
9476530fa1
2 changed files with 5 additions and 5 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue