mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
moving some vars from manipulations.js to attributes.js
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user