code
stringlengths
24
2.07M
docstring
stringlengths
25
85.3k
func_name
stringlengths
1
92
language
stringclasses
1 value
repo
stringlengths
5
64
path
stringlengths
4
172
url
stringlengths
44
218
license
stringclasses
7 values
updateSelectFilter = function() { // If any SelectFilter widgets were added, instantiate a new instance. if (typeof SelectFilter !== "undefined") { $(".selectfilter").each(function(index, value) { const namearr = value.name.split('-'); Sele...
The "X" button that is part of every unsaved inline. (When saved, it is replaced with a "Delete" checkbox.)
updateSelectFilter
javascript
johanmodin/clifs
www/assets/admin/js/inlines.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/inlines.js
Apache-2.0
initPrepopulatedFields = function(row) { row.find('.prepopulated_field').each(function() { const field = $(this), input = field.find('input, select, textarea'), dependency_list = input.data('dependency_list') || [], dependencies = [...
The "X" button that is part of every unsaved inline. (When saved, it is replaced with a "Delete" checkbox.)
initPrepopulatedFields
javascript
johanmodin/clifs
www/assets/admin/js/inlines.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/inlines.js
Apache-2.0
initPrepopulatedFields = function(row) { row.find('.prepopulated_field').each(function() { const field = $(this), input = field.find('input, select, textarea'), dependency_list = input.data('dependency_list') || [], dependencies = [...
The "X" button that is part of every unsaved inline. (When saved, it is replaced with a "Delete" checkbox.)
initPrepopulatedFields
javascript
johanmodin/clifs
www/assets/admin/js/inlines.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/inlines.js
Apache-2.0
function markFunction( fn ) { fn[ expando ] = true; return fn; }
Mark a function for special use by Sizzle @param {Function} fn The function to mark
markFunction
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function assert( fn ) { var el = document.createElement( "fieldset" ); try { return !!fn( el ); } catch ( e ) { return false; } finally { // Remove from its parent by default if ( el.parentNode ) { el.parentNode.removeChild( el ); } // release memory in IE el = null; } }
Support testing using an element @param {Function} fn Passed the created element and returns a boolean result
assert
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function addHandle( attrs, handler ) { var arr = attrs.split( "|" ), i = arr.length; while ( i-- ) { Expr.attrHandle[ arr[ i ] ] = handler; } }
Adds the same handler for all of the specified attrs @param {String} attrs Pipe-separated list of attributes @param {Function} handler The method that will be applied
addHandle
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function siblingCheck( a, b ) { var cur = b && a, diff = cur && a.nodeType === 1 && b.nodeType === 1 && a.sourceIndex - b.sourceIndex; // Use IE sourceIndex if available on both nodes if ( diff ) { return diff; } // Check if b follows a if ( cur ) { while ( ( cur = cur.nextSibling ) ) { if ( cur ===...
Checks document order of two siblings @param {Element} a @param {Element} b @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b
siblingCheck
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function createInputPseudo( type ) { return function( elem ) { var name = elem.nodeName.toLowerCase(); return name === "input" && elem.type === type; }; }
Returns a function to use in pseudos for input types @param {String} type
createInputPseudo
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function createButtonPseudo( type ) { return function( elem ) { var name = elem.nodeName.toLowerCase(); return ( name === "input" || name === "button" ) && elem.type === type; }; }
Returns a function to use in pseudos for buttons @param {String} type
createButtonPseudo
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function createDisabledPseudo( disabled ) { // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable return function( elem ) { // Only certain elements can match :enabled or :disabled // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled // https://html...
Returns a function to use in pseudos for :enabled/:disabled @param {Boolean} disabled true for :disabled; false for :enabled
createDisabledPseudo
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function createPositionalPseudo( fn ) { return markFunction( function( argument ) { argument = +argument; return markFunction( function( seed, matches ) { var j, matchIndexes = fn( [], seed.length, argument ), i = matchIndexes.length; // Match elements found at the specified indexes while ( i-- )...
Returns a function to use in pseudos for positionals @param {Function} fn
createPositionalPseudo
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function testContext( context ) { return context && typeof context.getElementsByTagName !== "undefined" && context; }
Checks a node for validity as a Sizzle context @param {Element|Object=} context @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value
testContext
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function toSelector( tokens ) { var i = 0, len = tokens.length, selector = ""; for ( ; i < len; i++ ) { selector += tokens[ i ].value; } return selector; }
Utility function for retrieving the text value of an array of DOM nodes @param {Array|Element} elem
toSelector
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function addCombinator( matcher, combinator, base ) { var dir = combinator.dir, skip = combinator.next, key = skip || dir, checkNonElements = base && key === "parentNode", doneName = done++; return combinator.first ? // Check against closest ancestor/preceding element function( elem, context, xml ) { ...
Utility function for retrieving the text value of an array of DOM nodes @param {Array|Element} elem
addCombinator
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function elementMatcher( matchers ) { return matchers.length > 1 ? function( elem, context, xml ) { var i = matchers.length; while ( i-- ) { if ( !matchers[ i ]( elem, context, xml ) ) { return false; } } return true; } : matchers[ 0 ]; }
Utility function for retrieving the text value of an array of DOM nodes @param {Array|Element} elem
elementMatcher
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function multipleContexts( selector, contexts, results ) { var i = 0, len = contexts.length; for ( ; i < len; i++ ) { Sizzle( selector, contexts[ i ], results ); } return results; }
Utility function for retrieving the text value of an array of DOM nodes @param {Array|Element} elem
multipleContexts
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function condense( unmatched, map, filter, context, xml ) { var elem, newUnmatched = [], i = 0, len = unmatched.length, mapped = map != null; for ( ; i < len; i++ ) { if ( ( elem = unmatched[ i ] ) ) { if ( !filter || filter( elem, context, xml ) ) { newUnmatched.push( elem ); if ( mapped ) { ...
Utility function for retrieving the text value of an array of DOM nodes @param {Array|Element} elem
condense
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { if ( postFilter && !postFilter[ expando ] ) { postFilter = setMatcher( postFilter ); } if ( postFinder && !postFinder[ expando ] ) { postFinder = setMatcher( postFinder, postSelector ); } return markFunction( function( ...
Utility function for retrieving the text value of an array of DOM nodes @param {Array|Element} elem
setMatcher
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function matcherFromTokens( tokens ) { var checkContext, matcher, j, len = tokens.length, leadingRelative = Expr.relative[ tokens[ 0 ].type ], implicitRelative = leadingRelative || Expr.relative[ " " ], i = leadingRelative ? 1 : 0, // The foundational matcher ensures that elements are reachable from top-lev...
Utility function for retrieving the text value of an array of DOM nodes @param {Array|Element} elem
matcherFromTokens
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function matcherFromGroupMatchers( elementMatchers, setMatchers ) { var bySet = setMatchers.length > 0, byElement = elementMatchers.length > 0, superMatcher = function( seed, context, xml, results, outermost ) { var elem, j, matcher, matchedCount = 0, i = "0", unmatched = seed && [], setMatched ...
Utility function for retrieving the text value of an array of DOM nodes @param {Array|Element} elem
matcherFromGroupMatchers
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
superMatcher = function( seed, context, xml, results, outermost ) { var elem, j, matcher, matchedCount = 0, i = "0", unmatched = seed && [], setMatched = [], contextBackup = outermostContext, // We must always have either seed elements or outermost context elems = seed || byElement && Ex...
Utility function for retrieving the text value of an array of DOM nodes @param {Array|Element} elem
superMatcher
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
dir = function( elem, dir, until ) { var matched = [], truncate = until !== undefined; while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { if ( elem.nodeType === 1 ) { if ( truncate && jQuery( elem ).is( until ) ) { break; } matched.push( elem ); } } return matched; }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
dir
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
siblings = function( n, elem ) { var matched = []; for ( ; n; n = n.nextSibling ) { if ( n.nodeType === 1 && n !== elem ) { matched.push( n ); } } return matched; }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
siblings
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function nodeName( elem, name ) { return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
nodeName
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function winnow( elements, qualifier, not ) { if ( isFunction( qualifier ) ) { return jQuery.grep( elements, function( elem, i ) { return !!qualifier.call( elem, i, elem ) !== not; } ); } // Single element if ( qualifier.nodeType ) { return jQuery.grep( elements, function( elem ) { return ( elem === qu...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
winnow
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function sibling( cur, dir ) { while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} return cur; }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
sibling
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function createOptions( options ) { var object = {}; jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { object[ flag ] = true; } ); return object; }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
createOptions
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
fire = function() { // Enforce single-firing locked = locked || options.once; // Execute callbacks for all pending executions, // respecting firingIndex overrides and runtime changes fired = firing = true; for ( ; queue.length; firingIndex = -1 ) { memory = queue.shift(); while ( ++firingInd...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
fire
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function Identity( v ) { return v; }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
Identity
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function Thrower( ex ) { throw ex; }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
Thrower
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function adoptValue( value, resolve, reject, noValue ) { var method; try { // Check for promise aspect first to privilege synchronous behavior if ( value && isFunction( ( method = value.promise ) ) ) { method.call( value ).done( resolve ).fail( reject ); // Other thenables } else if ( value && isFunctio...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
adoptValue
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function resolve( depth, deferred, handler, special ) { return function() { var that = this, args = arguments, mightThrow = function() { var returned, then; // Support: Promises/A+ section 2.3.3.3.3 // https://promisesaplus.com/#point-59 // Ignore double...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
resolve
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
mightThrow = function() { var returned, then; // Support: Promises/A+ section 2.3.3.3.3 // https://promisesaplus.com/#point-59 // Ignore double-resolution attempts if ( depth < maxDepth ) { return; } returned = handler.apply( that, args ); ...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
mightThrow
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
updateFunc = function( i ) { return function( value ) { resolveContexts[ i ] = this; resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; if ( !( --remaining ) ) { master.resolveWith( resolveContexts, resolveValues ); } }; }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
updateFunc
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function completed() { document.removeEventListener( "DOMContentLoaded", completed ); window.removeEventListener( "load", completed ); jQuery.ready(); }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
completed
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
access = function( elems, fn, key, value, chainable, emptyGet, raw ) { var i = 0, len = elems.length, bulk = key == null; // Sets many values if ( toType( key ) === "object" ) { chainable = true; for ( i in key ) { access( elems, fn, i, key[ i ], true, emptyGet, raw ); } // Sets one value } else if ...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
access
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function fcamelCase( _all, letter ) { return letter.toUpperCase(); }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
fcamelCase
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function camelCase( string ) { return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
camelCase
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
acceptData = function( owner ) { // Accepts only: // - Node // - Node.ELEMENT_NODE // - Node.DOCUMENT_NODE // - Object // - Any return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
acceptData
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function Data() { this.expando = jQuery.expando + Data.uid++; }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
Data
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function getData( data ) { if ( data === "true" ) { return true; } if ( data === "false" ) { return false; } if ( data === "null" ) { return null; } // Only convert to a number if it doesn't change the string if ( data === +data + "" ) { return +data; } if ( rbrace.test( data ) ) { return JSON.p...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
getData
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function dataAttr( elem, key, data ) { var name; // If nothing was found internally, try to fetch any // data from the HTML5 data-* attribute if ( data === undefined && elem.nodeType === 1 ) { name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); data = elem.getAttribute( name ); if ( typeof data...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
dataAttr
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
next = function() { jQuery.dequeue( elem, type ); }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
next
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
resolve = function() { if ( !( --count ) ) { defer.resolveWith( elements, [ elements ] ); } }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
resolve
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
isAttached = function( elem ) { return jQuery.contains( elem.ownerDocument, elem ); }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
isAttached
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
isHiddenWithinTree = function( elem, el ) { // isHiddenWithinTree might be called from jQuery#filter function; // in that case, element will be second argument elem = el || elem; // Inline style trumps all return elem.style.display === "none" || elem.style.display === "" && // Otherwise, check comput...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
isHiddenWithinTree
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function adjustCSS( elem, prop, valueParts, tween ) { var adjusted, scale, maxIterations = 20, currentValue = tween ? function() { return tween.cur(); } : function() { return jQuery.css( elem, prop, "" ); }, initial = currentValue(), unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumbe...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
adjustCSS
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function getDefaultDisplay( elem ) { var temp, doc = elem.ownerDocument, nodeName = elem.nodeName, display = defaultDisplayMap[ nodeName ]; if ( display ) { return display; } temp = doc.body.appendChild( doc.createElement( nodeName ) ); display = jQuery.css( temp, "display" ); temp.parentNode.removeChi...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
getDefaultDisplay
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function showHide( elements, show ) { var display, elem, values = [], index = 0, length = elements.length; // Determine new display value for elements that need to change for ( ; index < length; index++ ) { elem = elements[ index ]; if ( !elem.style ) { continue; } display = elem.style.display; ...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
showHide
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function getAll( context, tag ) { // Support: IE <=9 - 11 only // Use typeof to avoid zero-argument method invocation on host objects (#15151) var ret; if ( typeof context.getElementsByTagName !== "undefined" ) { ret = context.getElementsByTagName( tag || "*" ); } else if ( typeof context.querySelectorAll !==...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
getAll
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function setGlobalEval( elems, refElements ) { var i = 0, l = elems.length; for ( ; i < l; i++ ) { dataPriv.set( elems[ i ], "globalEval", !refElements || dataPriv.get( refElements[ i ], "globalEval" ) ); } }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
setGlobalEval
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function buildFragment( elems, context, scripts, selection, ignored ) { var elem, tmp, tag, wrap, attached, j, fragment = context.createDocumentFragment(), nodes = [], i = 0, l = elems.length; for ( ; i < l; i++ ) { elem = elems[ i ]; if ( elem || elem === 0 ) { // Add nodes directly if ( toType(...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
buildFragment
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function returnTrue() { return true; }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
returnTrue
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function returnFalse() { return false; }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
returnFalse
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function expectSync( elem, type ) { return ( elem === safeActiveElement() ) === ( type === "focus" ); }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
expectSync
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function safeActiveElement() { try { return document.activeElement; } catch ( err ) { } }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
safeActiveElement
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function on( elem, types, selector, data, fn, one ) { var origFn, type; // Types can be a map of types/handlers if ( typeof types === "object" ) { // ( types-Object, selector, data ) if ( typeof selector !== "string" ) { // ( types-Object, data ) data = data || selector; selector = undefined; } f...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
on
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function leverageNative( el, type, expectSync ) { // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add if ( !expectSync ) { if ( dataPriv.get( el, type ) === undefined ) { jQuery.event.add( el, type, returnTrue ); } return; } // Register the controller as a spec...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
leverageNative
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function manipulationTarget( elem, content ) { if ( nodeName( elem, "table" ) && nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { return jQuery( elem ).children( "tbody" )[ 0 ] || elem; } return elem; }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
manipulationTarget
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function disableScript( elem ) { elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; return elem; }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
disableScript
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function restoreScript( elem ) { if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { elem.type = elem.type.slice( 5 ); } else { elem.removeAttribute( "type" ); } return elem; }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
restoreScript
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function cloneCopyEvent( src, dest ) { var i, l, type, pdataOld, udataOld, udataCur, events; if ( dest.nodeType !== 1 ) { return; } // 1. Copy private data: events, handlers, etc. if ( dataPriv.hasData( src ) ) { pdataOld = dataPriv.get( src ); events = pdataOld.events; if ( events ) { dataPriv.remov...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
cloneCopyEvent
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function fixInput( src, dest ) { var nodeName = dest.nodeName.toLowerCase(); // Fails to persist the checked state of a cloned checkbox or radio button. if ( nodeName === "input" && rcheckableType.test( src.type ) ) { dest.checked = src.checked; // Fails to return the selected option to the default selected sta...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
fixInput
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function domManip( collection, args, callback, ignored ) { // Flatten any nested arrays args = flat( args ); var fragment, first, scripts, hasScripts, node, doc, i = 0, l = collection.length, iNoClone = l - 1, value = args[ 0 ], valueIsFunction = isFunction( value ); // We can't cloneNode fragments tha...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
domManip
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function remove( elem, selector, keepData ) { var node, nodes = selector ? jQuery.filter( selector, elem ) : elem, i = 0; for ( ; ( node = nodes[ i ] ) != null; i++ ) { if ( !keepData && node.nodeType === 1 ) { jQuery.cleanData( getAll( node ) ); } if ( node.parentNode ) { if ( keepData && isAttache...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
remove
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
getStyles = function( elem ) { // Support: IE <=11 only, Firefox <=30 (#15098, #14150) // IE throws on elements created in popups // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" var view = elem.ownerDocument.defaultView; if ( !view || !view.opener ) { view = window; } ...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
getStyles
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
swap = function( elem, options, callback ) { var ret, name, old = {}; // Remember the old values, and insert the new ones for ( name in options ) { old[ name ] = elem.style[ name ]; elem.style[ name ] = options[ name ]; } ret = callback.call( elem ); // Revert the old values for ( name in options ) { ...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
swap
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function computeStyleTests() { // This is a singleton, we need to execute it only once if ( !div ) { return; } container.style.cssText = "position:absolute;left:-11111px;width:60px;" + "margin-top:1px;padding:0;border:0"; div.style.cssText = "position:relative;display:block;box-sizing:border-box;ov...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
computeStyleTests
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function roundPixelMeasures( measure ) { return Math.round( parseFloat( measure ) ); }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
roundPixelMeasures
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function curCSS( elem, name, computed ) { var width, minWidth, maxWidth, ret, // Support: Firefox 51+ // Retrieving style before computed somehow // fixes an issue with getting wrong values // on detached elements style = elem.style; computed = computed || getStyles( elem ); // getPropertyValue is neede...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
curCSS
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function addGetHookIf( conditionFn, hookFn ) { // Define the hook, we'll check on the first run if it's really needed. return { get: function() { if ( conditionFn() ) { // Hook not needed (or it's not possible to use it due // to missing dependency), remove it. delete this.get; return; } ...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
addGetHookIf
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function vendorPropName( name ) { // Check for vendor prefixed names var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), i = cssPrefixes.length; while ( i-- ) { name = cssPrefixes[ i ] + capName; if ( name in emptyStyle ) { return name; } } }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
vendorPropName
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function finalPropName( name ) { var final = jQuery.cssProps[ name ] || vendorProps[ name ]; if ( final ) { return final; } if ( name in emptyStyle ) { return name; } return vendorProps[ name ] = vendorPropName( name ) || name; }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
finalPropName
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function setPositiveNumber( _elem, value, subtract ) { // Any relative (+/-) values have already been // normalized at this point var matches = rcssNum.exec( value ); return matches ? // Guard against undefined "subtract", e.g., when used as in cssHooks Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matc...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
setPositiveNumber
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { var i = dimension === "width" ? 1 : 0, extra = 0, delta = 0; // Adjustment may not be necessary if ( box === ( isBorderBox ? "border" : "content" ) ) { return 0; } for ( ; i < 4; i += 2 ) { // Both box models exclude...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
boxModelAdjustment
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function getWidthOrHeight( elem, dimension, extra ) { // Start with computed style var styles = getStyles( elem ), // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). // Fake content-box until we know it's needed to know the true value. boxSizingNeeded = !support.boxSizingReliable() ||...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
getWidthOrHeight
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function Tween( elem, options, prop, end, easing ) { return new Tween.prototype.init( elem, options, prop, end, easing ); }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
Tween
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function schedule() { if ( inProgress ) { if ( document.hidden === false && window.requestAnimationFrame ) { window.requestAnimationFrame( schedule ); } else { window.setTimeout( schedule, jQuery.fx.interval ); } jQuery.fx.tick(); } }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
schedule
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function createFxNow() { window.setTimeout( function() { fxNow = undefined; } ); return ( fxNow = Date.now() ); }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
createFxNow
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function genFx( type, includeWidth ) { var which, i = 0, attrs = { height: type }; // If we include width, step value is 1 to do all cssExpand values, // otherwise step value is 2 to skip over Left and Right includeWidth = includeWidth ? 1 : 0; for ( ; i < 4; i += 2 - includeWidth ) { which = cssExpand[ i ]...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
genFx
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function createTween( value, prop, animation ) { var tween, collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), index = 0, length = collection.length; for ( ; index < length; index++ ) { if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { // We're don...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
createTween
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function defaultPrefilter( elem, props, opts ) { var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, isBox = "width" in props || "height" in props, anim = this, orig = {}, style = elem.style, hidden = elem.nodeType && isHiddenWithinTree( elem ), dataShow = dataPriv.get( elem, "fxsh...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
defaultPrefilter
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function propFilter( props, specialEasing ) { var index, name, easing, value, hooks; // camelCase, specialEasing and expand cssHook pass for ( index in props ) { name = camelCase( index ); easing = specialEasing[ name ]; value = props[ index ]; if ( Array.isArray( value ) ) { easing = value[ 1 ]; valu...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
propFilter
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function Animation( elem, properties, options ) { var result, stopped, index = 0, length = Animation.prefilters.length, deferred = jQuery.Deferred().always( function() { // Don't match elem in the :animated selector delete tick.elem; } ), tick = function() { if ( stopped ) { return false; ...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
Animation
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
tick = function() { if ( stopped ) { return false; } var currentTime = fxNow || createFxNow(), remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), // Support: Android 2.3 only // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) temp = remai...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
tick
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
doAnimation = function() { // Operate on a copy of prop so per-property easing won't be lost var anim = Animation( this, jQuery.extend( {}, prop ), optall ); // Empty animations, or finishing resolves immediately if ( empty || dataPriv.get( this, "finish" ) ) { anim.stop( true ); } }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
doAnimation
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
stopQueue = function( hooks ) { var stop = hooks.stop; delete hooks.stop; stop( gotoEnd ); }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
stopQueue
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function stripAndCollapse( value ) { var tokens = value.match( rnothtmlwhite ) || []; return tokens.join( " " ); }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
stripAndCollapse
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function getClass( elem ) { return elem.getAttribute && elem.getAttribute( "class" ) || ""; }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
getClass
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function classesToArray( value ) { if ( Array.isArray( value ) ) { return value; } if ( typeof value === "string" ) { return value.match( rnothtmlwhite ) || []; } return []; }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
classesToArray
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
handler = function( event ) { jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
handler
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function buildParams( prefix, obj, traditional, add ) { var name; if ( Array.isArray( obj ) ) { // Serialize array item. jQuery.each( obj, function( i, v ) { if ( traditional || rbracket.test( prefix ) ) { // Treat each array item as a scalar. add( prefix, v ); } else { // Item is non-scala...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
buildParams
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
add = function( key, valueOrFunction ) { // If value is a function, invoke it and use its return value var value = isFunction( valueOrFunction ) ? valueOrFunction() : valueOrFunction; s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value == null ? "" : value ); }
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
add
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function addToPrefiltersOrTransports( structure ) { // dataTypeExpression is optional and defaults to "*" return function( dataTypeExpression, func ) { if ( typeof dataTypeExpression !== "string" ) { func = dataTypeExpression; dataTypeExpression = "*"; } var dataType, i = 0, dataTypes = dataTypeE...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
addToPrefiltersOrTransports
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { var inspected = {}, seekingTransport = ( structure === transports ); function inspect( dataType ) { var selected; inspected[ dataType ] = true; jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
inspectPrefiltersOrTransports
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function inspect( dataType ) { var selected; inspected[ dataType ] = true; jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); if ( typeof dataTypeOrTransport === "string" && !seekingTransport && !...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
inspect
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function ajaxExtend( target, src ) { var key, deep, flatOptions = jQuery.ajaxSettings.flatOptions || {}; for ( key in src ) { if ( src[ key ] !== undefined ) { ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; } } if ( deep ) { jQuery.extend( true, target, deep ); } ret...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
ajaxExtend
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function ajaxHandleResponses( s, jqXHR, responses ) { var ct, type, finalDataType, firstDataType, contents = s.contents, dataTypes = s.dataTypes; // Remove auto dataType and get content-type in the process while ( dataTypes[ 0 ] === "*" ) { dataTypes.shift(); if ( ct === undefined ) { ct = s.mimeType ||...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
ajaxHandleResponses
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function ajaxConvert( s, response, jqXHR, isSuccess ) { var conv2, current, conv, tmp, prev, converters = {}, // Work with a copy of dataTypes in case we need to modify it for conversion dataTypes = s.dataTypes.slice(); // Create converters map with lowercased keys if ( dataTypes[ 1 ] ) { for ( conv in s.c...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
ajaxConvert
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0
function done( status, nativeStatusText, responses, headers ) { var isSuccess, success, error, response, modified, statusText = nativeStatusText; // Ignore repeat invocations if ( completed ) { return; } completed = true; // Clear timeout if it exists if ( timeoutTimer ) { window.cle...
A low-level selection function that works with Sizzle's compiled selector functions @param {String|Function} selector A selector or a pre-compiled selector function built with Sizzle.compile @param {Element} context @param {Array} [results] @param {Array} [seed] A set of elements to match against
done
javascript
johanmodin/clifs
www/assets/admin/js/vendor/jquery/jquery.js
https://github.com/johanmodin/clifs/blob/master/www/assets/admin/js/vendor/jquery/jquery.js
Apache-2.0