"sub": true,
"trailing": true,
"undef": true,
+ "unused": true,
"wsh": true
},
"globals": {
jQuery.fn = jQuery.prototype = {
constructor: jQuery,
init: function( selector, context, rootjQuery ) {
- var match, elem, ret, doc;
+ var match, elem, doc;
// Handle $(""), $(null), $(undefined), $(false)
if ( !selector ) {
},
cssExpand = [ "Top", "Right", "Bottom", "Left" ],
- cssPrefixes = [ "Webkit", "O", "Moz", "ms" ],
-
- eventsToggle = jQuery.fn.toggle;
+ cssPrefixes = [ "Webkit", "O", "Moz", "ms" ];
// return a css property mapped to a potentially vendor prefixed property
function vendorPropName( style, name ) {
hide: function() {
return showHide( this );
},
- toggle: function( state, fn2 ) {
+ toggle: function( state ) {
var bool = typeof state === "boolean";
return this.each(function() {
function Animation( elem, properties, options ) {
var result,
index = 0,
- tweenerIndex = 0,
length = animationPrefilters.length,
deferred = jQuery.Deferred().always( function() {
// don't match elem in the :animated selector
startTime: fxNow || createFxNow(),
duration: options.duration,
tweens: [],
- createTween: function( prop, end, easing ) {
+ createTween: function( prop, end ) {
var tween = jQuery.Tween( elem, animation.opts, prop, end,
animation.opts.specialEasing[ prop ] || animation.opts.easing );
animation.tweens.push( tween );
// Make a writable jQuery.Event from the native event object
event = jQuery.event.fix( event || window.event );
- var i, j, cur, ret, selMatch, matched, matches, handleObj, sel, related,
+ var i, j, cur, ret, selMatch, matched, matches, handleObj, sel,
handlers = ( (jQuery._data( this, "events" ) || {} )[ event.type ] || []),
delegateCount = handlers.delegateCount,
args = core_slice.call( arguments ),
var ret,
target = this,
related = event.relatedTarget,
- handleObj = event.handleObj,
- selector = handleObj.selector;
+ handleObj = event.handleObj;
// For mousenter/leave call the handler if related is outside the target.
// NB: No relatedTarget if the mouse left/entered the browser window
},
clean: function( elems, context, fragment, scripts ) {
- var i, j, elem, tag, wrap, depth, div, hasBody, tbody, len, handleScript, jsTags,
+ var i, j, elem, tag, wrap, depth, div, hasBody, tbody, handleScript, jsTags,
safe = context === document && safeFragment,
ret = [];
return val == null ?
null :
jQuery.isArray( val ) ?
- jQuery.map( val, function( val, i ){
+ jQuery.map( val, function( val ){
return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
}) :
{ name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
});
} else if ( qualifier.nodeType ) {
- return jQuery.grep(elements, function( elem, i ) {
+ return jQuery.grep(elements, function( elem ) {
return ( elem === qualifier ) === keep;
});
}
}
- return jQuery.grep(elements, function( elem, i ) {
+ return jQuery.grep(elements, function( elem ) {
return ( jQuery.inArray( elem, qualifier ) >= 0 ) === keep;
});
}