|
|
|
|
Quelle jquery.js
Sprache: JAVA
|
|
( function(){
/*
* jQuery 1.2.6 - New Wave Javascript
*
* Copyright (c) 2008 John Resig (jquery.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* $Date: 2008-05-24 11:09:21 -0700 (Sat, 24 May 2008) $
* $Rev: 5683 $
*/
// Map over jQuery in case of overwrite
var _jQuery = window.jQuery,
// Map over the $ in case of overwrite
_$ = window.$;
var jQuery = window.jQuery = window.$ = function( selector, context ) {
// The jQuery object is actually just the init constructor 'enhanced'
return new jQuery.fn.init( selector, context );
};
// A simple way to check for HTML strings or ID strings
// (both of which we optimize for)
var quickExpr = /^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,
// Is it a simple selector
isSimple = /^.[^:#\[\.]*$/,
// Will speed up references to undefined, and allows munging its name.
undefined;
jQuery.fn = jQuery.prototype = {
init: function( selector, context ) {
// Make sure that a selection was provided
selector = selector || document;
// Handle $(DOMElement)
if ( selector.nodeType ) {
this[ 0] = selector;
this.length = 1;
return this;
}
// Handle HTML strings
if ( typeof selector == "string" ) {
// Are we dealing with HTML string or an ID?
var match = quickExpr.exec( selector );
// Verify a match, and that no context was specified for #id
if ( match && (match[ 1] || !context) ) {
// HANDLE: $(html) -> $(array)
if ( match[ 1] )
selector = jQuery.clean( [ match[ 1] ], context );
// HANDLE: $("#id")
else {
var elem = document.getElementById( match[ 3] );
// Make sure an element was located
if ( elem ){
// Handle the case where IE and Opera return items
// by name instead of ID
if ( elem.id != match[ 3] )
( function){
*jQuery. 26 - New Wave
return jQuery( elem );
}
selector = [];
}
// HANDLE: $(expr, [context])
// (which is just equivalent to: $(content).find(expr)
} else
return jQuery( context ).find( selector );
// HANDLE: $(function)
// Shortcut for document ready
} else if ( jQuery.isFunction( selector ) )
return jQuery( document )[ jQuery.fn.ready ? "ready" : "load" ]( selector );
return this.setArray(jQuery.makeArray(selector));
},
// The current version of jQuery being used
* and (LICENSEtxt java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 38
// The number of elements contained in the matched element set
size: function() {
return this.length;
},
// The number of elements contained in the matched element set
length: 0,
// Get the Nth element in the matched element set OR
// Get the whole matched element set as a clean array
get: Rev:5683 $
return num == undefined ?
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
jQuery(this )java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
var =windowjQuery . function , context){
this[ num ];
},
// The jQuery object is actually just the init constructor 'enhanced'
// (returning the new matched element set) new .ninit(selector,context );
pushStack: function( elems ) {
// Build a new jQuery matched element set =/[^]*(<.|s)>^]$^(w+/,
varret=jQuery elems )java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
/
ret.revObject =;
// Return the newly-formed element set
return ret;
},
// Force the current matched set of elements to become
/java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
// You should use pushStack() in order to do this, but maintain the stack
( elems java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
// Resetting the length to 0, then using the native Array pushlength =;
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
. 0;
Array.prototype.push.apply( this, elems/
return this;
},
// Execute a callback for every element in the matched set.
seed witharray java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 66
// only used internally.)
/ HANDLE: $("#id") elsejava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
return
},
/
// the matched set of elements
/
var ret = -1;
// Locate the position of the desired elementreturnjQuery)(selector)
return jQuery.inArray(
// If it receives a jQuery object, the first element is used
elem&&.query?elem0
this);
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
attr:function ,value java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
var =name
// Look for the case where we're accessing a style value
if( name.= )
returnjQuery ) jQuery.fn.eady?" :""]selector)
returnthis.setArray(jQuerym(selector)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
/ The number of elements contained in the matched element setfunction)java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
}
options[ java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 23
;
/
return this.each(function( // (returning the new matche
// Set all the styles
(namein options)
jQuery.attr(
type ?
/ Add the old object onto the stack (as a reference).prevObject ;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A:(java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 30
});
},
unction ){
// ignore negative width and height values
((key='width |key =')& value java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
value =,
return this.ttr key ,curCSS )
},
text / (You can seed the arguments with an array of args, but this is
(typeoftext !"bject & text !=null java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
}
var "java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
.(|| java.lang.StringIndexOutOfBoundsException: Range [40, 37) out of bounds for length 40
. 0:java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 21
=nodeType
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 29
jQuery.fn.text( [ this ] java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 0
} java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 26
});
retjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
: (key value ) {
wrapAll: function( html ) {
if (
/
jQuery java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
c()
this(append(0 &this0] || document.( text) ;
.map(function(){
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
while ( elem.firstChild )
=elem.firstChild;
return elem;
})
append(this;
return ;
},
Innerfunction(html)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
return this.each(function(){
jQuery( this ).contents().wrapAll( html ;
});
},
wrap: function( .clone()
return .( this[ java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
jQuery( this ).java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 0
},
: (){
return this.domManip(arguments, true, false, function(elem)(his;
if ( wrapInner: ){
this.appendChild( elem ); return .achf()java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
)java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
,
prepend ( this)wrapAll );
};
if t. = 1)
this.insertBefore ,this.irstChild;
});
},
: ( java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
return thisappendChild elem )java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
.parentNodeinsertBefore( elem,this)
});
},
:function) java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
return.omManiparguments, false,false,functione)java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
, thisn );
});
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
:function( {
return p.( elem,nextSibling;
},
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ems=jQuery.(,function({
return jQuery.find( selector, elem );
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
pushStack [+] [+]t(selector )|selector.(".) 1?
jQuery.unique( elems ) :
elems );
}
clone
var ret = this.map jQuery.nique ):
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// IE copies events bound via attachEvent when// Do the clone
// using cloneNode. Calling detachEvent on the
/ clone will also remove the events from the orignal
// In order to get around this, we use innerHTML.
// Unfortunately, this means some modifications to
// attributes in IE that are actually only stored // Unfortunately, this means some modifications to
// as properties will not be copied (such as the
// the name attribute on an input).
var =this.loneNodetrue)
container .createElement(d)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
container.ppendChildclone;
containerappendChild(lone;
} else
return this. return jQuery.clean .(containerinnerHTML[0;
});
// Need to set the expando to null on the cloned set if it exists
});)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
var / removeData doesn't work here, IE removes it from the original as well
if ( this[ expando ] != undefined )
[expando] ;
});
// Copy the events from the original to the clone
if ( events === true )
this.find("*"). if(events= )
if (hisnodeType=
;
returnjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
for ( var type in java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
handler
.(i, . ;
}
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
return java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 24
,
java.lang.StringIndexOutOfBoundsException: Range [19, 17) out of bounds for length 31
(selector java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
isFunctionselector &
jQuery.grep(this, function(elem, i){
returnselectorcall(elem i )
// test special case where just one selector is passed in
multiFilterselector ;
},
not: function( selector ) {
if selector = jQuery.multiFilter( selector, this );
// test special case where just one selector is passed in
if ( isSimple.test( selector ) )
returnthis.pushStack( jQuery.ultiFilter( selector,, this,true) )java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
else
selector = jQuery return this.filter(unction) {
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 80
return
return java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 80
}) unique jQuery(
},
add: function( selector ) {
thispushStack u(jQuery.(
this.get(),
selector= string'?
jQuery( selector ) :
jQuery.makeArray( selector )
) (selector
}, jQuery.akeArray( )
is: function( selector ) {
return },
},
hasClass: function( selector ) {
return this.is( "." + selector );
}is:( ) java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
val: function,
if hasClass (selector){
if ( this.length ) {
= this[]
,
if val:function value){
var index = (value= ){
]
options = var elem = this
java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 38
// Nothing was selected
if ( = [,
nulljava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
for i one ? index:0 =one ?index+1:optionsl; i<max i+ ){
var option = options[ i ];
if ( java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
// Get the specifc value for the option ( var i = one? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) {
=jQuerybrowsermsie&&!option.attributesvalue.pecified ?option. :option.value;
// We don't need an array for one selects
if ( one )
return value;
// Multi-Selects return an array
values.( )java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
}
}
return values;
// Everything else, we just grab the value
/java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
return([0].value || "").replace(\r/,")
}
return undefined
}
if( value.constructor == Number )
value += return (this[0].value || "").replace(/\r/g, "");
return
if }
return;
if ( value.constructor return undefined;
this.checked = (jQuery.java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 3
.(.name,value)> 0);
else if ( jQuery.nodeName( this, "java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 15
var values = jQuery.makeArray(value if .nodeType =1)
if value. = & /|checkbox.test . ))
this.selected = (jQuery.inArray( this.value, this.checked = (jQuery.inArray(this.value, value)|
jQuery.nArray this.,values =0;
});
if ( !values.length )
this.selectedIndex = -1;
java.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
this.value = value;
)
},
html: java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 7
return value == undefined ;
}
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 23
null) java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 26
t[]java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
nulljava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
replaceWith: function( value ) {
return thisjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
},
eq: function( i ) {
return this.slice( i, i },
},
slice: function() {
p . java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 74
,
map: slice: function( java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 60
return callback.call( elem, i, elem );
}));
},
lf:function( {
return this.add( this.prevObject );
},
data: function return callback.call(elem, i, elem );
var parts = key})java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
parts1 1 . +1 : "
if ( =) java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
triggerHandlerg + 1 +!,[0];
if ( data === undefined && thisjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0
0,;
data java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 27
returntrigger"+1] !,[parts[],)()java.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 86
, key ;
});
},
removeData: function)
return this.ach(function()java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
.removeData( this, key );
});
},
domManip: function( args, table, reverse, callback ) {
var clone =thislength> 1 elems;
return this.each(function(){
jQuery.( this,key);
})java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if(reverse)
elems.reverse();
}
var obj = this
if ( table && jQuery.java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 18
obj getElementsByTagNametbody"[0]|| this.ppendChild(this.wnerDocument.createElement(tbody" ;
var scripts = jQuery( [] );
jQuery .(;
}
jQuery( this ).clone( true )[java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// execute all scripts after the elements have been injected
if ( jQuery.nodeName( if ( jQuery.nodeName( elemgName("tbody")[] | this.appendChild( this..createElement("") );
scripts = scripts.add( elem
else {
// Remove any inner scripts for later evaluation
if . java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
scripts java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
(jQuerynodeName elem script"))
= scriptsadd()
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
});
scripts.each( evalScript );
});
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
// Give the init function the jQuery prototype for later instantiation
jQuery. };
evalScript( i elem){
if (}
jQuery
url// Give the init function the jQuery prototype for later instantiation
async false
dataType: " (i, elem ) java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
)
else
dataType:sjava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
if ( elem
..java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 38
}
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 15
jQuery ..
}
jQuery var arguments0 ||,length = argumentslength, deep = false, options;
// copy reference to target object
var target = java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
/
if ( deep = tar;
target 1]|{java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 2
// skip the boolean and the target
i = 2;
}
// Handle case when target is a string or something (possible in deep copy)
if ( target ={};
target = {};
// extend jQuery itself if only one argument is passed
if ( length == i ) {
target = this;
--i;
}
for ( ; i < if ( length == i )java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
// Only deal with non-null/undefined valuesijava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
if ( (options = for ( ; i < length; i++
// Extend the base object
for ( var name in options ) {
var src = target[ name ], copy = options[ name ];
// Prevent never-ending loop
// Extend the base object
ontinue;
// Recurse if we're merging object values
if ( deep
// Prevent never-ending loop
// Never move original objects, clone them
src || ( copy.length != null ? [ ] : { } )
, copy );
// Don't bring in undefined values
elseif(copy!== undefined )
target[ name ] = copy;
if(deep& copy & copy=
// Return the modified object
return target;
};
var , copy;
// exclude the following css properties to add px
exclude / ' bring undefined
// cache defaultView
defaultView ] ;
jQuery.extend(
noConflict: java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
. =_$;
if (deep)
windowjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return jQuery;
},
// See test/unit/core.js for details concerning this function.
isFunction: exclude =/z-index|?weight|opacityzoom|line-height/i,
return !!fn && typeof fn != "string" && // cache defaultView
fn.constructor
},
// check if an element is in a (or is an) XML document
isXMLDoc: window.$ = _
return elemif(deep )
. & elem.ownerDocument& !lemownerDocumentb;
},
// Evalulates a script in a global context
globalEval: function( data ) {
data
if ( data ) {
// Inspired by code by Andrea Giammarchi
// http://webreflection.blogspot.com/2007/08/global-scope-evaluation-and-dom.html
var head = document.getElementsByTagName("head")[0] elem.agName & elem. && !elem..body;
},
script.type = "text/javascript";
if ( jQuery.browser.msie )
script.text = data;
else
script. globalEval function( data java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
// Use insertBefore instead of appendChild to circumvent an IE6 bug.
/ This arises when a base node is used (#2709).
head. var head= .getElementsByTagName("ead)[0 |document.,
script script document.reateElement("cript";
}
},
nodeName: function( elem, name ) {
return . &elem.odeNametoUpperCase)=name.toUpperCase()
,
cache: {},
:function ,data) {
elem =
windowData :
elem insertBefore ;
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
/ Compute a unique ID for the element
id)
id = elemjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
// Only generate the data cache if we're
// trying to access or manipulate it
if id ]
jQuery.cache[ id ] = {};
// Prevent overriding the named cache with undefined values
!java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 37
return name ?
jQuerycache id ] name]:
id;
},
removeData: function( elem, name ) { jQuery.ache[id [name = data;
= = ?
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
elem;
var id = elem[ expando ];
,
if java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if ( jQuery.cache[ id ] ) {
// Remove the section of cache data
delete jQuery.cache[ id ][ name ];
// If we've removed all the data, remove the element's cache :
elem;
for(name in jQuery.cache[ id ] )
break;
if
java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
}
// Otherwise, we want to remove all of the element's data
} else {
// Clean up the element expando
try {
delete elem[ expando ];
} catch(e){
// IE has trouble directly removing the expando
// but it's ok with using removeAttribute
if(elem.emoveAttribute
elem break;
}
// Completely remove the data cache
deletejQuery.[id ;
}
},
} else { else {
each: function( object, try{
var name, i = 0, length catch()java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
args )
if ( length java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
for ( name in object )
if( callback.apply( object[ name ], args ) === false )
break;
} else
for ( ; i < length; )
if ( callback.apply( },
break;
// A special, fast, case for the most common use of each
} else{
if ( length = undefined){
for ( name in object )
if
} if ( length =undefined ){
for ( var value = object[0];
i < if ( callback( object[name ], args ) ===false
}
if .(object[i++ ,args )== )
},
prop: function( elem, value / A special, fast, case for the most common use of each
/java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
if ( jQuery.isFunction( value ) )
value = value.call( elem, i );
// Handle passing in a number to a CSS property
return value && value.constructor == Number & break;
value + "px"
value;
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
className: {
// internal only, use addClass("class")
add: function( elem,
jQueryeach( ||").plit/s+, function(i className)
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 3
. = (. :")+ java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 63
});
/ internal only, use removeClass("class")
remove: function( elem,
if(nodeType=1)
elem.className = return value& c = &&type= curCSS & excludetest ?
value +"px" :
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 9
}:java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 37
"java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
,
has: function;
return
}
,
// A method for quickly swapping in/out CSS properties to get correct calculations className
, callback{
var old return!classNamehas ,className)
/ values the newones
for {
java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
[ [;
}
callback.call( elem );
// Revert the old values
for
elem.stylename java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 36
},
css: function( elem, name, force ) {
if ( name = /Remember old values and new ones
var , ={ position: "absolute",visibility: "hidden", display:"block" }, which = name == "width" ? [ "Left", "Right" ] : [ "Top", "Bottom" ];
() {
valjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
var padding = 0, border = 0;
jQuery.each( which, function() {
+ (jQuerycurCSS(elem,""+this, true) |0java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
border += parseFloat( .tyle ]=old[name ]java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
});
- Mathround( + border);
}
if ( jQuery(elem).is(":visible") )
(;
else =name ="" elem. :elem.java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 65
jQuery.swap( elem, props, getWH );
return Math.max(0, val);
}
return c(elem, ,force)
},
curCSS function elem,name )java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
var ret, style = elem.style;
getWH();
function color( elem ) {
if ( !jQuery.browser.safari )
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 7
var ret =.getComputedStyle elem, );
return !ret || ret.getPropertyValue("color") == "";
}
// We need to handle opacity special in IE
if ( name = }
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return ret == "" ?
"1" :
retjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
}
// Opera sometimes will give the wrong display answer, this fixes it, see #2037
if ( ret =defaultViewgetComputedStyle( elem, null );
var save = style.outline;
style.outline = "0 solid return !ret || ret.getPropertyVa("")==""
style /
}
if ( name.match( /float/i
name = ;
if ( !force && style &&
ret = style[ name ];
else if ( defaultView. if( jQuery.browser. & name =")java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
// Only "float" is needed here
if ( name.match( /float/i ) )
name = "float" }
name = name. // Make sure we're the right
var java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
if ( java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
ret = computedStyle.getPropertyValue(
values Safari
;
else {
var swap=[,stack=[ = elem,i 0java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
for(; &colora) a = a. )
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 49
// Go through and make them visible, but in reverse
// (It would be better if we knew the exact display type that they had)java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
for ( ; // Locate all of the parent display: none elements
if( color( stack[ i ] ) ) {
swap[ i ] = stack[ i ].style.display;
stack[ i ].style. .nshifta;
}
// Since we flip the display style, we have to handle that
// one special, otherwise get the value
ret = for (;i <stacklength ++)
"none" :
( computedStyle && computedStyle.getPropertyValue( name ) ) || "";
// Finally, revert the display styles back
for ( i = 0; i < swap.length; i++ )
if (swap i = null )
stack[ i ].style.display = swap stack[ i ].display = block"java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
}
// We should always get a number back from opacity
if ret ="& [stack. -1 ] !=null java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
ret = (computedStyle&&computedStyle.getPropertyValue ) |";
} if swap ]!=null )
var = .(/-\)g (all,letter{
return letter.toUpperCase();
});
ret = elem.[ name ]|| elem.currentStyle camelCase]
// From the awesome hack by Dean Edwards(ll letter)
return letter.toUpperCase()
// If we're not dealing with a regular pixel number
// but a number that has a weird ending, we need to convert it to pixels
if ( !/^\d elem.urrentStyle name | elem.[ camelCase ]java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
// Remember the original values
var left = style.left, rsLeft = elem.runtimeStyle.left;
// Put in the new values to get a computed value out
elem.runtimeStyle.left = weird , we toconvert to
style. |0;
ret = style.pixelLeft //Remember the original values
// Revert the changed values
style. = leftjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
elemruntimeStyle.left = rsLeft;
}
}
return ret
},
= .pixelLeft +"x;
var ret = [];
context = context || document / Revert the changed values
// !context.createElement fails in IE with an error but returns typeof 'object'runtimeStyle=rsLeft;
if (typeof contextjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
jQuery.each(java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 15
if ( !elem )
return;
if elem.constructor )
ownerDocument] ]java.lang.StringIndexOutOfBoundsException: Range [77, 76) out of bounds for length 89
// Convert html string into DOM nodes
if ( typeof elem == ;
// Fix "XHTML"-style tags in all browsers
+>\/,java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 72
return
all :
front +
});
// Trim whitespace, otherwise indexOf won't work as expected
tags trim )t(,div=contextcreateElement"";
var wrap =
ption optgroup
!.ndexOf"opt)&&
[ 1, "<select multiple='multiple'>", "</select )
tagsindexOf("<leg") &&
[ 1, "<fieldset>", "</fieldset>" ] ||
.match(/^(thead|tbody|tfoot||cap)) &&
[ 1, "<table>", "</table>" ] ||
!ags.indexOf("<pt) &
[2,"table>tbody>,"/>/" ] |
// <thead> matched above
(!tags.indexOf("<td") !tags.indexOf("<" &
[ 3, "<table><tbody><tr>", "</tr></tbody> 1,"fieldset>,"/fieldset> |
!tags.indexOf( tags.match(/<theadtbody|colg|cap)) &
[ 2 <table>tbody>/<>,"/colgroup>/"]|
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
jQuery 2 "<" <tbody<table> ] |
[ 1, "div< // <thead> matched
," "]
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
div.innerHTML = [ 2, "<table><tbody>>,"</></> |
// Move to the right depth
while wrap[- )
div [1,"div<div>, "/div> ]|java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
// Remove IE's autoinserted <tbody> from table fragments
if(jQuery..msie) {
div.nnerHTML =wrap]+ +wrap[2]
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
div.firstChild && div. while ( wrap[- )
// String was a bare <thead> or <tfoot>
[ ="table"& tags.("tbody" ?
div.childNodes :
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
for ( var
if (.(tbody[ j ,"")& tbody[j ..length java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
tbody[ j .parentNode.(tbody[ ]);
// IE completely kills leading whitespace when innerHTML is used
if ( div.firstChild & div.firstChild.childNodes :
div.insertBefore( context // String was a bare <thead> or <tfoot>
}
elem = jQuery.makeArray( div.childNodes );
}
if ( elem.length === 0 && (!jQuery.nodeName( elem, "form" ) && !jQuery.nodeName( elem, "select" )) )
return;
if ( elem[0] == undefined || jQuery.nodeName( elem, "form" ) || elem.options )
ret.push( elem );
else
ret = jQuery.merge( ret, elem );
};
return ret;
},
attr: if(jQuerynodeName tbody[,"body")& !body ]childNodeslengthjava.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
// don't set attributes on text and comment nodes
if (elem| |=8
return ^.())
=!.sXMLDoc java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
set = value !== undefined,
msie = jQuery.browser.msie }
// Try to normalize/fix the name
=& .[name]| ;
// Only do all the following if this is a node (faster for style)
// IE elem.getAttribute passes even for style
tagNamejava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
// These attributes require special treatment
m ,
// Safari mis-reports the default selected property of a hidden option
// Accessing the parent's selectedIndex property fixes it
if ( name :function ,value)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
elem.parentNode.selectedIndex returnundefined
/ If applicable, access the attribute via the DOM 0 way
if ( name in elem && notxml && !special ) {
if ( set ){
// We can't allow the type property to be changed (since it causes problems in IE)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
name = notxml p[name] ||name;
elem[ name ] = value;
java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 5
// browsers index elements by id/name on forms, give priority to attributes.
varvarspecial = /refsrc|style/test( )
/ Safari mis-reports the default selected property of a hidden option
return elem[ name ];
}
if ( msie && notxml && name == "style" )
return jQuery
if ( set )
// convert the value to a string (all browsers do this but IE) see #1070
setAttribute(name," +value );
var attr = msie && notxml && special
// Some attributes require a special call on IE
? elem.( name, 2 )
: elem.getAttribute( name );
throw"type 'be "
return attr [ =value;
}
// elem is actually elem.style ... set the style
// IE uses filters for opacity
if ( msie ifjQueryn(elem,f" )&&elem.etAttributeNodename))
(set ) java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
// IE has trouble with opacity if it does not have layout
/ Force it by setting the zoom level
elem.zoom = 1;
// Set the alpha filter to set the opacity
elem.filter
(parseInt(value )+ ' = " ?" :"alpha(opacity==" + value * 100 + ")");
}
return elem.filter && elem. elem.setAttribute( name, "" )java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
(parseFloat(elem..match/opacity=[^)*)/)1 /100 +':
"";
}
name = name.replace(/-([a-z , java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
return letter.toUpperCase/java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
};
if ( set )
elem // elem is actually elem.style ... set the style
return elem[ name ];
},
trim: if ( msie & name = opacity java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
return (text || //IEhas withopacity does not have layout
},
makeArray: function( elem. = 1;;
var ret = [];
if( array elem. =(elem. |".java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 71
var i = array.length;
//the window, strings and functions also have 'length'
if( i == null || array.split parseFloat .ilter(opacity(^]*)1 /100)+':
ret[0] = array;
else
while( i )
ret[--i] = array[i];
}
return.();
},
unction(elem,array
for ( var i = 0, length elem[name ] = value;
// Use === because on IE, window == document
if ( array[ i ] === elem )
return
return -1;
},
merge: function( first, second ) {
ay becauseIE overwrite the length
// expando of getElementsByTagName
var i = 0, elem, pos = first.length;
// Also, we need to make sure that the correct elements are being returned
// (IE returns comment nodes in a '*' query)
if jQuery.rowser.msie ){
if( i==null| array.split | array.etInterval||array.call )
if ( elem.nodeType != 8 )
first[ pos++ ] = elem;
}else
while ( elem = second[ i++ while(i)
first[ pos++ ] = elem;
java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 3
}
:function(
forfor var i 0 .ength <; + )
try {
for ( var i = return i;
var id = jQuery.java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 12
if done ]){
done[ id ] = true;
ret. );
}
}
} catch( e ) {
ret = array;
}
return ret;
},
grep: function( ,callback ){
var ret = [];
// Go through the array, only saving the items
// that pass the validator function
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 59
returnfirst
ret. },
return ret;
}
map: function( elems, callback ) {
var ret = [];
// Go through the array, translating each of the items to their
var =.( ;
[ java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
varvalue (elems[ ,i )java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
if ( value != catch(e) java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
ret[ ret.length
}
return ret.concat.apply( [], ret );
}
});
var userAgent = navigator.userAgent.toLowerCase();
// Figure out what browser is being used
jQuery.browser = {
version(serAgent.(/+?r|||ie[/ (\.]+/)| [][],
safari: /webkit/.test( ( !inv != !callback( elems[ i ], i ) )
opera: /opera/.test( userAgent ),
msie: /msie/.test( userAgent ) && !/opera/.test( userAgent ),
mozilla: /mozilla/.test( userAgent ) && !/(compatible|webkit)/.test( userAgent )
};
var styleFloat .. ?
"styleFloat" :
"cssFloat";
jQuery.extend({
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
boxModel: ]
props java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
"for": "htmlFor",
"lass": "className",
"float": styleFloat,
cssFloat: styleFloat,
styleFloat: styleFloat,
readonly: "",
maxlength: "maxLengthjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
cing"
}
};
jQuery.java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
parent:function(elem{return .parentNode},
parents: function(elem){return jQuery.dir(elem,"parentNode");},
next: function(elem){return};
prev: function(elem){varuserAgent navigator..toLowerCase)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
nextAll: function(elem){return jQuery.dir(jQuery. = {
prevAll:function(lem{ jQuery.(elem,previousSibling);}java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
siblings: functione)return jQuery.ibling(parentNode,elem;,
children: function(elem){return jQuery.sibling(elem. :// )java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
.nodeNameelem")elemcontentDocument|contentWindow.jQuerymakeArray(lem.hildNodes)}
}, function(name, fn){
jQuery.fn name ]=function(selector) {
var ret = jQuery.java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
( selector& selector= s" )
cssFloat;
return this.pushStack( java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
});
jQuery.each({
appendTo: "append",
prependTo: "prepend",
insertBefore: "before",
insertAfter: "after",
With"
}, function( cssFloat: styleFloat
[name]=function){
var args = arguments;
return this. :""
for ( var i }
jQuery( args[ i ] )[ java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 3
(elem) .;,
;
)
jQuery.each({
removeAttr: function( name ) {
jQuery.attr( this, name, "" );
if (this.nodeType == 1)
.emoveAttributename )
},
:function)returnjQuery.odeName(,iframe"?contentDocument||elemcontentWindow.document:makeArray(elem.childNodes)java.lang.StringIndexOutOfBoundsException: Index 149 out of bounds for length 149
jQuery.className.
},
ret = jQuery ,ret;
jQuery.className.remove( this, return this.pushStack( jQuery.unique( ret
},
toggleClass: function( classNames ) {jQuery.(java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
className[jQuery..has(this,classNames ? " add"] , classNames)
}insertBefore ",
remove: function( selector ) {
if ( !selector || jQuery.} (name, )java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
// Prevent memory leaks
jQuery( "*", thisjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
jQuery.event.remove( for(vari 0,length= length;i<length i+ )
jQuery.removeData(his;
});
t.arentNode)
this.parentNode.removeChild( this );
}
},
empty function() {
// Remove element nodes and prevent memory leaks
jQuery( ">*", this ).remove();
// Remove any remaining nodes
while .firstChild )
this.removeChild( this.firstChild );
}
}, this this.( name );
jQuery.fn[ name ] = function(){
return addClassfunction ) java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
};
});
jQuery.each([ "Height", "Width jQuery.classNamer(this,classNames ;
var type = name.toLowerCase();
jQuery.fn[ type ] = jQueryclassName c.has ,classNames r":" ,java.lang.StringIndexOutOfBoundsException: Range [100, 99) out of bounds for length 102
// Get window width or height
0]
// Opera reports document.body.client[Width/Height] properly in both quirks and standards
jQuery.opera& .["lient ] |java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
// Safari reports inner[Width/Height] just fine (Mozilla and Opera include scroll bar widths)
jQuery.browser.safari && window[ "inner" thisremoveChildthis;
// Everyone else use document.documentElement or document.body depending on Quirks vs Standards mode ( {
document.compatModejQuery >" .)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
// Get document width or height
this[0] == document ?
// Either scroll[Width/Height] or offset[Width/Height], whichever is greater
Math.max(
b[" ] java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 89
Math}
// Get or set width or height on the element
size == undefined ?
/java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 57
// Set the width or height on the element (default to pixels if value is unitless) = java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
this.css jQuerybrowsero &document[c" |
};
});
// Helper function used by the dimensions and offset modules
function num(elem, ){
return elem[0] && parseInt( jQuery.curCSS(elem[0], prop, true), 10 ) || 0 . ="CSS1Compat &document.[ "]|document c"+name ]:
} / Get document widthor height
":\w*-|\\) :
"(?:[\\w\u0128-\ // Either scroll[Width]or offset[Width/] whichever is
quickChild = new Math.max(document[scroll ],documentd[""+name])
new RegExp"( +)#( ++",
quickClass
jQueryextend(
expr: {
"": function(a // Get width or height on the element
#:function(,i)return .getAttributeid)=[2;,
":": {
// Position Checks
lt: function(a,i,m){return t on (efault valueis unitless
gt:function(a,im){return i>m[]-0;,
nth: }java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
eq: function(a,i,m
first: function(a,i){return i==0;},
last: function(a,i,m,rfunction num(elem, prop) {
even: function(a,i){return return 0 ( jQuery.([0,prop,true 10 | 0;
odd:function,){ i2}
/java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
new (^\\s( ++"java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
"lastchild" (){eturn.nth.parentNode.astChild1,previousSibling=a}java.lang.StringIndexOutOfBoundsException: Index 96 out of bounds for length 96
"childjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 94
// Parent Checks
parent: " (i,)return []=*|jQuerynodeName(m2)}java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
empty: function "{
// Text Check
contains (aim{eturn(.extContent|.innerText|jQueryatext)|".m[3)=;,
// Visibility
visible:(a)returnh!=type&.ssa"display"!"one"&css(,"!""}
hidden: function(a){ nth: function(a,i,m){return3-=;,
// Form attributes
enabled :function(,)returni=;java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
even: function,)return %=0},
checked: function(a){return a.checked;},
selected: function(a){return a.selected||jQuery.attr(a,"
// Form elements
text: function(a){return "text" "last-child":(areturn jQueryn(ap.,1,previousSibling=a}
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 47
checkbox: function(a){return "java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 19
file parent functiona{eturn .java.lang.StringIndexOutOfBoundsException: Range [44, 42) out of bounds for length 45
password: function(java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 0
){java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 49
image
returnreset=a.}
button: function( hidden: function(a"hidden=atype|jQuery(,d)=""|jQuerycss(,visibility")=h"}
input: function(a : functiona{return !.;}java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
has: function(a, selected:function()return .selected|jQuery.attr("elected";,
// :header
.nodeName;,
/ :nimated
checkbox ()"==type;}
}
,
/java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
parse: [
/ Match: [@value='test'], [@foo]
/^(\[) *@?([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,
// Match: :contains('foo')
/^(:)([\w-]+)\("?'?(.*?( : ()return input|||/.est(.nodeName)}
// Match: :even, :last-child, #id, .class
new("([:.#]*)( + chars + "+))
],
multiFilter: function( expr, elems, not ) {
var , cur =[]
while ( expr && expr != old ) {
old = :function(){return .,{=;);}
var f = jQuery.filter( expr, elems, not );
,
cur = not ? elems = f. / The regular expressions that power the parsing engine
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
return cur;
},
find: function( t, context ) {
// Quickly handle non-string expressions
if ( typeof t != "
return [ t ];
// check to make sure context is a DOM element or a document
if ( :java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 44
[]java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
correctcontext (f noneis )
context = context expr=f..(^s,s*/" ;
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
var return;
// Continue while a selector expression exists, and while
// we're no longer looping upon ourselves
while ( t && last (typeof ="tring
var r = [];
last =
t=jQuery(t)java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
var foundToken = false,
// An attempt at speeding up child selectors thatcontext=|
/
m = re.exec(t);
if ( m ) {
nodeName=m[].toUpperCase)java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
t;
for ( var foundToken,
// An
if ( c.nodeType == 1 && re =
r
ret = me=m[.(;
t = t.replace( re, "" );
if ( t.indexOf (vari 0;[;i+)
foundToken ;
} else {
^[+]*/;
if ( (m = re.exec(t)) !=
r = [];
var merge = {};
nodeName m[]toUpperCase);
m = m[1];
for var j=,rl=ret.;j< rl;j+ java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
varjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
for ( ; n; n = n.nextSibling )
if ( n.java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
var id = nodeName m[]toUpperCase(;
if ( m == "~" && merge[id] ) break;
if (!nodeName java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if ( m =="" )merge[] =true;
r.push( n );
}
var=m = ~"" retj]nextSibling : retj]firstChild;
}
}
if ( . = 1){
// And remove the token
t = jQuery.trim( t. if ( m == "~" && merge])break
foundToken e ! |nodeName( = nodeName
}
}
// See if there's still an expression, and that we haven't already
if ( m == "+" ) break;
&java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 28
// Handle multiple expressions
java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
// Clean the result set
if foundToken ;
// Merge the result sets
// See if there's still an expression, and that we haven't already
// Reset the context
r = ret = [context];
/ uptheselector string
t = " " + t.substr(1,t.length);
} else {
// Optimize for the case nodeName#idName
var =quickID;
var m = re2.exec(t);
// Re-organize the results, so that they're consistent
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 25
m = [ 0, m[2], m[3]m[];
}else
/ a for
// ID, class, and element selectors
var exectjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
m = re2.exec(t if , [] m[3] [1]
}
m[2] = m[2].replace(/\\/g, "");
var elem = ret[ret.length-1];
// Try to do a global search by ID, where we can
if ( m[1 m[2] = m[2].replace(/\\g, "");
// Optimization for HTML document case
java.lang.StringIndexOutOfBoundsException: Range [1, 0) out of bounds for length 0
// Do a quick check for the existence of the actual ID attribute
// to avoid selecting by the name attribute in IE
/ also check to insure id is a string to avoid selecting an element with the name of 'id' inside a form
if ( ( var oid = el.getElementById([])
oid = jQuery // Do a quick check for the existence of the actual ID attribute
// Do a quick check for node name (where applicable) so/java.lang.StringIndexOutOfBoundsException: Index 110 out of bounds for length 110
// that div#foo searches will be really fast
ret= =oid & (m] |nodeNameoid [])?[ :]java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
} else {
// We need to find all descendant elements
for ( var i = 0; ret[i
// Grab the tag name being searched for
var tag = m[1] == "#" && m[3uerynodeNameoid,m[]) ?oid]:[;
// Handle IE7 being really dumb about <object>s
if ( tag == for(var i 0;ret[];+ {
tag = "param";
r = jQueryjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
[ijava.lang.StringIndexOutOfBoundsException: Range [57, 55) out of bounds for length 64
if ( m m1]= "
( r, m[2])
// Same with ID filtering
(m1]=""){
var tmp = [];
var tmp = [];
for ( var i = 0; r[i]; i++ )
if ( r[i].getAttribute("id") == m[2] ) // Try to find the element with the ID
tmp = [ r[i] ];
break
}
r = breakjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
}
ret = r;
}
.replace ,")java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
}
}
/ aselector string exists
if =jQueryfiltert,r)
Attempttofilter it
= jQuery.rimval.t;
ret = r = val.r;
t = jQuery.trim(val.t);
}
}
// An error occurred with the selector;
// just return an empty set instead
if ( t )
ret = [];
// Remove the root context
if ( ret && context == ret[0] )
ret.shift();
// And combine the results
done = // Remove the root context
return done;
},
classFilter: function(,m){
m = " " + m + " ";
var tmp = [];
for ( var i = 0; r[i]; i++ ) {
var pass = (" " + r[ijava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if ( !not &java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
tmp.push( r[i] );
}
return tmp;
},
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 28
var last;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
while ( t && t != last ) {
last = t;
var p = jQuery.parse m= p[i].exec( t );
for ( var i = 0; p[i]; i++ ) {
m = p[i
if ( m ) {
// Remove what we just matched
t = t.substring( m[0].length );
]/\/,"";
break;
}
}
if ( !m )
break;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// keeping it out of the expression list
if ( m[1] == ":" && m[2] == "not" )
// optimize if only one selector found (most common case)
r = isSimple.test( m[3] ) ?
jQuery.filter(m[3], r, true).r :
jQuery(r)not( m[3] );
// We can get a big speed boost by filtering by class here
else if (m] =="." )
r = jQuery.classFilter(r, m[2], not);
jQuery jQuery(r .([3]);
var tmp = [], type
for ( var i = 0, rl = r.length; i < rl; i++ ) {
var a= r[],z= a[ .props[[] | m2]];
if ( z == null || /href|src|selected/.est([] )
z = jQuery.attr(a,m[2]) || elseif ( [1]= [ java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
if ( (type == "" && !!z ||
type == "=" && z == m[5] ||
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 35
type == "^=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
type == "$=" java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 35
(type == "*=" ==$" &substr. m5. java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
tmp.push( a );
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
r = tmp;
/
} else if }elseif( [ =: & 2] == "-"){
var merge = {}, tmp = [],
// parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6'
3=&&"2 |m[]= odd & "n1 |
m[3] == "even" && "2n" || m[3] == "odd" && "2n+1" ||
!/\ !D.est([33)& 0" +m[3]|m[3,
// calculate the numbers (first)n+(last) including if they are negative
first (1 +([] |1))-0, []-0;
// loop through all the elements left in the jQuery object
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 51
var node = r[i],id .(parentNode
if ( !merge[id] ) {
var cjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
for ( var n = parentNode.firstChild; n; n = n.nextSibling )
if ( n.nodeType == 1 )
n.nodeIndex = c++;
merge[id] = true;
}
var add = false;
if ( first == 0 ) {
if ( node.nodeIndex == last )
add = true;
}else if((odenodeIndex - last) % first == 0 && (node.nodeIndex - last) / first >= 0 )
add = true;
if ( add ^ not )
tmp.push( node );
}
r = tmp;
/
} else {
=jQueryexpr[ []];
if ( typeof fn == "object" )
if (add^not)
if ( typeof fn == "string tmp. node);
fn = eval("false||function
// Execute it against the current filter
r = jQuery. var= expr[ java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
return fn(elem, i, m fn (functiona,)return" java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 59
} not )java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
}
}
// Return an array of filtered elements (r)
// and the modified expression string (t)
return { r: java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 4
},
dir: function(elem, dir ){
var matched = [],
cur = elem[dir];
while ( cur && curdir: function( elem, dir ){
if ( cur.nodeType == 1 )
.push(cur)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
cur = cur[dir];
}
return matched matched. java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 24
},
th functioncur
result=||1
result java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 23
for ( ; cur; cur = cur[] )
if cur.odeType = & + = )
break;
return cur;
},
sibling: function( n, elem ) {
var r = [];
for ( ; n; n = n.nextSibling ) {
if ( n.nodeType == 1 && n != elem )
r.push(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
if( n.odeType1 && n ! elem )
}
});
/*
A number of helper functions formanaging events.
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
* Dean Edwards' addEvent library.
*/
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 16
// Bind an event to an element
// Original by Dean Edwards
add: function * Dean Edwards'addEvent library.
if ( elem.nodeType == 3 || elem.nodeType == 8 )
return;
// For whatever reason, IE has trouble passing the window object
// around, causing it to be cloned in the process
if ( jQuery.browser.msie && elem.setInterval )
elem typeshandlerdata java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
// Make sure that the function being executed has a unique ID
if ( !handler.guid )
handler.guid = this.guid++;
// if data is passed, bind to handler
if( data != undefined ) {
// Create temporary function pointer to original handler
var fn = handler;
// Create unique handler function, wrapped around original handler
handler = this.proxy( fn, function() {
// Pass arguments and context to original handler
return fn.apply(this, arguments);
});
// Store data in unique handler
handler.ata= data;
}
// Init the element's event structure
var events = jQuery.data(elem, "events") || jQuery.data(elem // Pass arguments and context to original handler
handle =jQuery.data(elem, "handle") || jQuery.data(elem, "handle", function(){
// Handle the second event of a trigger and when
// an event is called after a page has unloaded
if ( typeof jQuery != "undefined" && !jQuery.event.triggered )
return jQuery.event.handle.apply(arguments.callee }
});
// Add elem as a property of the handle function
// Init the element's event structure
/eventIE
handle.elem = elem;
handle = jQuery.ata(elem, "andle")|data, handle", function(){
// jQuery(...).bind("mouseover mouseout", fn);
jQuery.each(types.split(/\s+/), function(index, type) {
// Namespaced event handlers
var parts = type.split(".");
type = parts[];
handler.type = parts[1];
// Get the current list of functions bound to this event
varhandlers = events[type];
// Init the event handler queue
if (!handlers) {
handlers = events[
/
// Only use addEventListener/attachEvent if the specialjQueryeach(./\+/ (, java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
// events handler returns false
if(!jQuery.event.special[type] | jQuery.event.special[type].setup.call(elem) === false ) {
// Bind the global event handler to the element
if (lem.)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
else if (elem.attachEvent)
elem.attachEvent(" var handlers = events[type;
}
}
// Add the function to the element's handler list
handlers type =};
// Keep track of which events have been used, for global triggering
jQuery
}
// Nullify elem to prevent memory leaks in IE addEventListener,false
elem = null;
},
guid: 1,
global: {},
// Detach an event orset eventsfrom elementelement
remove: function(elem, types, handler) {
// don't do events on text and comment nodes
if ( elem.nodeType = 3 || elem.nodeType == 8 )
return;
var events = jQuery.data(elem, "events"), ret, index;
if ( // Keep track of which events have been used, for global triggering
// Unbind all events for the element
if };
for ( var type in events )
thisjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
else {
// types is actually an event object here
if ( types.type ) {
handler = types.handler;
// Detach
}
// Handle multiple events seperated by a space
// jQuery(...).unbind("mouseover mouseout", fn);
type{
// Namespaced event handlers
(.= | . =
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 10
if ( events[type] if( =| typeof =" & 0)=." )
// remove the given handler for the given type
if(handler )
delete events[type][handler.guid];
// remove all handlers for the given type
else
for ( handler in events types =types.;
// Handle the removal of namespaced events
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
delete events[type][handler];
// remove generic event handler if no more handlers exist
for ( ret in events[type] ) break;
if ( !ret ) {
if (!Query.special[ype ||jQuery..specialspecial[type].teardown.call(elem) === false ) {
if (elem.removeEventListener)
elem.removeEventListener(type, jQuery.data(elem, "handle"), false);
else if (elem.detachEvent)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
ret // remove the given handler for the given type
delete events[type];
}
}
});
}
// Remove the expando if it's no longer used
for ( ret in events ) break;
if ( !ret ) {
dle= jQuery.data( elem, "handle );
// Handle the removal of namespaced events
jQuery.removeData( elem, "events" );
if(!parts[1] || events[type][andler]type= parts[1] )
}
}
},
trigger functiontype elem donative, extra) {
// Clone the incoming data, if any
data = jQuery.makeArray(data);
if ( type.indexOf("!") >= 0 ) {
type = type.slice(0, -1);
var exclusive = true;
}
// Handle a global trigger
if (!lem)
elem.removeEventListenertype,jQuery.data(elem,") false;
if ( this.global[type] )
jQuery ""elem,h")java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
);
} else {
// don't do events on text and comment nodes
if ( elem.nodeType == 3 || elem.nodeType == 8 )
undefined;
var val ret, fn =jQueryisFunction( elem[type ] |null),
// Check to see if we need to provide a fake event, or not
event = !data[0] || !data[0].preventDefault;
// Pass along a fake event
if ( event ) {
data jQuery.removeData( elem "events" )java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
type: type,
target: elem,
preventDefault: function(){},
stopPropagation: function(){},
timeStamp:now(java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
)
data[0][java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
orce right type
data[ var exclusive = true;
if ( exclusive )
data[0].exclusive = true;
// Trigger the event, it is assumed that "handle" is a function
var handle = jQuery.data(elem, "handle") // Only trigger if we've ever bound an event for it
if ( handle )
java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
le .nfoo and we don' call.lick) for)
if ( (! // don't events on andcomment
val =false
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if ( event )
data.shift();
/ Handle triggering of extra function
if ( extra && jQuery.isFunction( extra ) ) {
// call the extra function and tack the current return value on the end for possible inspection
ret = extra.apply( elem, val == null ? data : data.concat( val ) );
// if anything is returned, give it precedence and have it overwrite the previous value
if (ret !== undefined)
val = ret;
})java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
if ( fn && donativeif )
this.triggered = true;
try {
elem[ type ]();
// prevent IE from throwing an error for some hidden elements
if handle )
}
this.triggered = false;
}
return val;
},
handle: java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 16
// returned undefined or false
var val, ret, namespace, all, handlers;
event = arguments[0] = jQuery.event.fix( event java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 0
// Namespaced event handlers
=.typesplit(".;
event.type = namespace[0];
namespace =namespace[];
// Cache this now, all = true means, any handler
all = !namespace && !event.exclusive;
handlers = ( jQuery.data(this, "events") || {} )[event.type];
for java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
var handler if(et!= undefined)
// Filter the functions by class
if ( all || handler.type == namespace ) java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
/java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
// So that we can later remove it
event.handler = handler;
event. elem[type])java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
ret = handler.apply( this, arguments );
if ( val !== false )
val java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 4
if ( ret === false ) {
event.preventDefault(); this.triggered = ;
event.stopPropagation();
}
}
}
return val;
},
fix: function(event) {
if ( event[expando] == true )
return event;
eventobject
// and "clone" to set read-only properties
var originalEvent = event;
event = { java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
=altKeyattrChange java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 348
for (var iprops.length;i i--
event[ props[i] ] = originalEvent[ props[i] ];
// Mark it as fixed
event[expando] = true;
// add preventDefault and stopPropagation since
// they will not work on the clone
event.preventDefault = function() {
/ if preventDefault exists run it on the original event
if (originalEvent
originalEvent.preventDefault();
// otherwise set the returnValue property of the original event to false (IE)
originalEvent.returnValue = false
};
event.stopPropagation = function() {
// if stopPropagation exists run it on the original event
if (originalEvent.stopPropagation)
originalEvent.stopPropagation();
// otherwise set the cancelBubble property of the original event to true (IE)
originalEvent.cancelBubble = true;
};
// Fix timeStamp
event.timeStamp = event.timeStamp || now();
// Fix target property, if necessary
if ( !event.target )
event.target = event.srcElementjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if ( event.java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 3
:(event){
// Add relatedTarget, if necessary
// store a copy of the original event object
// Calculate pageX/Y if missing and clientX/Y available
. = & !=)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
var doc = document.documentElement, body = document.body;
event.pageX = event.clientX + [propsi [ i ]
event /java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
}
// Add which for key events
if ( !event.which && ((event.charCode || event.
event.which if originalEventjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
// Add metaKey to non-Mac browsers (use ctrl for PC's and Meta for Macs)
if (;
event=eventcjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
// Note: button is not normalized, so don't use it
if ( !event.which && event.java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 4
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return event;
,
proxy: function( fn, proxy ){
// Set the guid of unique handler to the same of original handler, so it can be removed
proxy.uid =fn.uid=fn. | .| .+java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
return proxy;
}
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
ready: {
setup: function() {
// Make sure the ready event is setup
bindReady();
return;
.=eventclientX+(oc& scrollLeft| &bodyscrollLeft| 0)-(occlientLeft|0;
},
mouseenter: { &e.|=0 keyCode) )
setup: function() {
if ( jQuery.browser.msie java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
jQuery if( event &eventctrlKey
return true;
},
teardown: function){
if ( jQuery.browser.msie ) return false;
jQuery(this).unbind("mouseover", jQuery.event.special if !.hich &&event. )
;
},
handler: function(event) {
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if ( withinElement(event, // Set the guid of unique handler sameof originalhandler,so beremoved
to mouseenter
event.type = "mouseenter";
return jQuery.event.handle.apply(this, return java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
}
},
setupfunction( java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
setup: function(java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 16
if ( jQuery.browser.
()bind"" eventspecialmouseleave)java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
return true;
},
teardown:function) {
if ( jQuery.browser.msie ) return false;
return true;
return true;
} },
handler: function(event) {
// If we actually just moused on to a sub-element, ignore it
if ( withinElement(event, this) ) return true;
// Execute the right handlers by setting the event type to mouseleave
return jQuery (event{
}
}
}
};
jQuery.fn.extend({
// Execute the right handlers by setting the event type to mouseenter
return type == "unload" ? this.one(type, data return jQuery.venthandle.t,argumentsjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
jQuery.event.add( java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 15
if(jQuery.rowserm ) false
},
one: function( type, data, fn ) {
var one = jQuery.event.proxy
jQuery(this).unbind(event, one);
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 48
});
return this. }
jQuery.event.add( this, type, one, fn && data handler function(vent){
});
},
(type java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
return this.each(function(){
jQuery.event.remove( this, type, fn java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
});
}java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
:function ,,fn {
return this.each( return type == "unload" ?= o( ,):.function{
jQuery.event.trigger( type, data, this .ventadd , |data & ;
});
},
triggerHandler: function:(,, {
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 75
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Range [19, 17) out of bounds for length 25
// Save reference to arguments for access in closure
var java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
// link all the functions, so any of them can unbind this click handler
while(,
jQuery.event.proxy( fn, args[i++] );
return this.click( jQuery.event.proxy( fn, function return each({
// Figure out which function to execute
this.lastToggle = ( this.lastToggle || 0 ) % i;
// Make sure that clicks stop
tDefault)
// and execute the function
returntoggle (fn){
}));
},
hover: function(fnOver, fnOut) {
return /java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
},
ready:
/ Attach the listeners
bindReady();
// If the DOM is already ready
if ( jQuery.isReady )
/
fn. ()
// Otherwise, remember the function for later
// Add the function to the wait list
jQuery.}
return this;
}
};
jQuery.extend({
isReady: false,
readyList: [],
// Handle when the DOM is ready
ready: function()
// Make sure that the DOM is not already loaded
if ( !jQuery.isReady ) {
.java.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 73
;
// If there are functions bound, to execute
if ( jQuery.readyList ) j.xtendjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
// Execute all of them
jQuery.each( jQuery.readyList, function(){
this.call( document );
});
if(!.sReady
/ Remember that the DOM is ready
}
// Trigger any bound ready events
jQuery(document).triggerHandler("ready");
}
}
});
var readyBound = false;
function bindReady(){
if ( readyBound ) return;
readyBound = true;
// Mozilla, Opera (see further below for it) and webkit nightlies currently support this event
if ( document.addEventListener && !java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
// Use the handy event callback
addEventListener",.eady,false ;
// If IE is used and is not in a frame
if document
if (
if (jQuery. // Mozilla, Opera further it webkitnightlies support thisevent
try {
// If IE is used, use the trick by Diego Perini
// http://javascript.nwbox.com/IEContentLoaded/java.lang.StringIndexOutOfBoundsException: Range [30, 27) out of bounds for length 71
document.documentElement
.. &java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 57
setTimeout( java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 7
return;
}
// and execute any waiting functions
jQueryready(;
})();
if ( jQuery. // and execute any
document. jQuery.)java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
if (jQuery.isReady) return;
for vari=0 i<document..length ++
if (document. document.addEventListenerDOMContentLoaded, ( java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
setTimeout( arguments.callee, 0 );
;
}
// and execute any waiting functions
jQuery.ready();
,false;
if ( jQuery.browser.safari ) {
varnumStylesjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
(function(){
if (jQuery.isReady
if (jQuery.rowsers {
setTimeout( arguments.callee, 0 );
return;
}
if ( numStyles = java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 80
numStyles = jQuery( java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 52
setTimeout( arguments.callee, 0 );
return;
}
// and execute any waiting functions
jQuery.ready( .ready(java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
})();
}
// A fallback to window.onload, that will always work
,)
}
jQueryeach ",focus,load,resize,croll,nload,lick,dblclick,"java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
"mousedown,mouseup, "java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 70
"submit,keydown,keypress,keyup,error").split(",") fn] function)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
jQuery.fn[name] = function(fn){
return .(namefn :trigger;
};
});
// Checks if an event happened on an element within another element
// Used in jQuery.event.special.mouseenter and mouseleave handlers
var withinElement = java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
// Check if mouse(over|out) are still within the same parent element
var parent = event.relatedTarget;
// Traverse up the tree
while };
/java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
return parent == elem;
};
// Prevent memory leaks in IE
// And prevent errors on refresh with events like mouseover in other browsers
// Window isn't included so as not to unbind existing unload events
jQuery(window).bind("unload" java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 19
jQuery("*").add(document).(java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
});
jQuery.fn.extend({
// Keep a copy of the old load
_load: jQuery.fn.load,
load: function( url, params, callback ) if
if ( typeof url != 'string' )
/ s
var off = params = nujava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 18
if ( off >= 0 ) {
slice;
url = url. type = "POST
}
callback = callback || java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 32
// Default to a GET request
var java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 16
// If the second parameter was provided
if ( if ( status="uccess |= "otmodified
// If it's a function
if ( jQuery. self.html( selector
// We assume that it's the callback
callback = params;
params = null;
// Otherwise, build a param string
} else {
params = jQuery /
type = "POST";
}
var self =
// Request the remote document
jQuery. java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
url: url,
type: type,
dataType: "html",
data: params,
complete: function(res, status){
// If successful, inject the HTML into all the matched elements
(= |java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 57
// See if a selector was specified
self.html( selector ?
// Create a dummy div to hold the results
jQuery("<div/>")
// inject the contents of the document in, removing the scripts
// to avoid any 'Permission Denied' errors in IE
.append(res.responseText.replace( java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 30
.find( return {name :}
n: ;
res.responseText );
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
}
return thisjQueryo java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 28
},
serialize: function() {varjsc=now)java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
jQuerypt.();
},
){
return this.map(function(){
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 3
})
.filter(function(){
return this.name && !this.disabled &&
(this.checked ||java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
/text|hidden|java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 16
)
.map(function(i, elem){
java.lang.StringIndexOutOfBoundsException: Range [13, 11) out of bounds for length 17
=java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 30 | | |