moving some vars from manipulations.js to attributes.js
This commit is contained in:
parent
a974b255c3
commit
9476530fa1
|
@ -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({
|
jQuery.fn.extend({
|
||||||
attr: function( name, value, type ) {
|
attr: function( name, value, type ) {
|
||||||
var options = name, isFunction = jQuery.isFunction( value );
|
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({
|
jQuery.fn.extend({
|
||||||
text: function( text ) {
|
text: function( text ) {
|
||||||
if ( typeof text !== "object" && text != null )
|
if ( typeof text !== "object" && text != null )
|
||||||
|
|
Loading…
Reference in a new issue