Changeset View
Changeset View
Standalone View
Standalone View
netrender/js/jquery.js
| Context not available. | |||||
| classNames = value.split( rspace ); | classNames = value.split( rspace ); | ||||
| while ( (className = classNames[ i++ ]) ) { | while ( (className = classNames[ i++ ]) ) { | ||||
| // check each className given, space seperated list | // check each className given, space separated list | ||||
| state = isBool ? state : !self.hasClass( className ); | state = isBool ? state : !self.hasClass( className ); | ||||
| self[ state ? "addClass" : "removeClass" ]( className ); | self[ state ? "addClass" : "removeClass" ]( className ); | ||||
| } | } | ||||
| Context not available. | |||||
| rNonWord = /\W/; | rNonWord = /\W/; | ||||
| // Here we check if the JavaScript engine is using some sort of | // Here we check if the JavaScript engine is using some sort of | ||||
| // optimization where it does not always call our comparision | // optimization where it does not always call our comparison | ||||
| // function. If that is the case, discard the hasDuplicate value. | // function. If that is the case, discard the hasDuplicate value. | ||||
| // Thus far that includes Google Chrome. | // Thus far that includes Google Chrome. | ||||
| [0, 0].sort(function() { | [0, 0].sort(function() { | ||||
| Context not available. | |||||
| }; | }; | ||||
| /** | /** | ||||
| * Utility function for retreiving the text value of an array of DOM nodes | * Utility function for retrieving the text value of an array of DOM nodes | ||||
| * @param {Array|Element} elem | * @param {Array|Element} elem | ||||
| */ | */ | ||||
| var getText = Sizzle.getText = function( elem ) { | var getText = Sizzle.getText = function( elem ) { | ||||
| Context not available. | |||||
| for ( i = 1; i < length; i++ ) { | for ( i = 1; i < length; i++ ) { | ||||
| // Create converters map | // Create converters map | ||||
| // with lowercased keys | // with lowercase keys | ||||
| if ( i === 1 ) { | if ( i === 1 ) { | ||||
| for ( key in s.converters ) { | for ( key in s.converters ) { | ||||
| if ( typeof key === "string" ) { | if ( typeof key === "string" ) { | ||||
| Context not available. | |||||
| xml; | xml; | ||||
| // Firefox throws exceptions when accessing properties | // Firefox throws exceptions when accessing properties | ||||
| // of an xhr when a network error occured | // of an xhr when a network error occurred | ||||
| // http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE) | // http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE) | ||||
| try { | try { | ||||
| Context not available. | |||||