mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(bower) jquery v3.1.1
This commit is contained in:
parent
b1c370f959
commit
d3391efc2b
16 changed files with 111 additions and 18582 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -2,7 +2,8 @@ node_modules
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
||||||
modules/fancybox/lib/
|
modules/fancybox/lib/
|
||||||
modules/jquery/src
|
modules/jquery/
|
||||||
|
!modules/jquery/dist/jquery.min.js
|
||||||
modules/fancybox/demo
|
modules/fancybox/demo
|
||||||
|
|
||||||
.nyc_output
|
.nyc_output
|
||||||
|
|
|
||||||
|
|
@ -38,9 +38,9 @@
|
||||||
"menu": "~1.0.2",
|
"menu": "~1.0.2",
|
||||||
"olark": "^1.0.0",
|
"olark": "^1.0.0",
|
||||||
"philip": "^1.3.3",
|
"philip": "^1.3.3",
|
||||||
"jquery": "3.1.0",
|
|
||||||
"jonny": "1.0.1",
|
"jonny": "1.0.1",
|
||||||
"promise-polyfill": "6.0.2",
|
"promise-polyfill": "6.0.2",
|
||||||
"smalltalk": "2.1.3"
|
"smalltalk": "2.1.3",
|
||||||
|
"jquery": "3.1.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,8 @@
|
||||||
"name": "remote",
|
"name": "remote",
|
||||||
"data": [{
|
"data": [{
|
||||||
"name": "jquery",
|
"name": "jquery",
|
||||||
"version": "3.1.0",
|
"version": "3.1.1",
|
||||||
"local": "/modules/jquery/dist/jquery.js",
|
"local": "/modules/jquery/dist/jquery.min.js",
|
||||||
"remote": "//ajax.googleapis.com/ajax/libs/jquery/{{ version }}/jquery.min.js"
|
"remote": "//ajax.googleapis.com/ajax/libs/jquery/{{ version }}/jquery.min.js"
|
||||||
}, {
|
}, {
|
||||||
"name": "socket",
|
"name": "socket",
|
||||||
|
|
|
||||||
|
|
@ -12,14 +12,15 @@
|
||||||
"library"
|
"library"
|
||||||
],
|
],
|
||||||
"homepage": "https://github.com/jquery/jquery-dist",
|
"homepage": "https://github.com/jquery/jquery-dist",
|
||||||
"version": "3.1.0",
|
"version": "3.1.1",
|
||||||
"_release": "3.1.0",
|
"_release": "3.1.1",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "3.1.0",
|
"tag": "3.1.1",
|
||||||
"commit": "6f02bc382c0529d3b4f68f6b2ad21876642dbbfe"
|
"commit": "1b30f3ad466ebf2714d47eda34dbd7fdf6849fe3"
|
||||||
},
|
},
|
||||||
"_source": "https://github.com/jquery/jquery-dist.git",
|
"_source": "https://github.com/jquery/jquery-dist.git",
|
||||||
"_target": "3.1.0",
|
"_target": "^3.1.1",
|
||||||
"_originalSource": "jquery"
|
"_originalSource": "jquery",
|
||||||
|
"_direct": true
|
||||||
}
|
}
|
||||||
|
|
@ -77,7 +77,7 @@ Jared Grippe <jared@deadlyicon.com>
|
||||||
Sylvester Keil <sylvester@keil.or.at>
|
Sylvester Keil <sylvester@keil.or.at>
|
||||||
Brandon Sterne <bsterne@mozilla.com>
|
Brandon Sterne <bsterne@mozilla.com>
|
||||||
Mathias Bynens <mathias@qiwi.be>
|
Mathias Bynens <mathias@qiwi.be>
|
||||||
Timmy Willison <timmywillisn@gmail.com>
|
Timmy Willison <4timmywil@gmail.com>
|
||||||
Corey Frang <gnarf37@gmail.com>
|
Corey Frang <gnarf37@gmail.com>
|
||||||
Digitalxero <digitalxero>
|
Digitalxero <digitalxero>
|
||||||
Anton Kovalyov <anton@kovalyov.net>
|
Anton Kovalyov <anton@kovalyov.net>
|
||||||
|
|
|
||||||
481
modules/jquery/dist/core.js
vendored
481
modules/jquery/dist/core.js
vendored
|
|
@ -1,481 +0,0 @@
|
||||||
/* global Symbol */
|
|
||||||
// Defining this global in .eslintrc would create a danger of using the global
|
|
||||||
// unguarded in another place, it seems safer to define global only for this module
|
|
||||||
|
|
||||||
define( [
|
|
||||||
"./var/arr",
|
|
||||||
"./var/document",
|
|
||||||
"./var/getProto",
|
|
||||||
"./var/slice",
|
|
||||||
"./var/concat",
|
|
||||||
"./var/push",
|
|
||||||
"./var/indexOf",
|
|
||||||
"./var/class2type",
|
|
||||||
"./var/toString",
|
|
||||||
"./var/hasOwn",
|
|
||||||
"./var/fnToString",
|
|
||||||
"./var/ObjectFunctionString",
|
|
||||||
"./var/support",
|
|
||||||
"./core/DOMEval"
|
|
||||||
], function( arr, document, getProto, slice, concat, push, indexOf,
|
|
||||||
class2type, toString, hasOwn, fnToString, ObjectFunctionString,
|
|
||||||
support, DOMEval ) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var
|
|
||||||
version = "3.1.0",
|
|
||||||
|
|
||||||
// Define a local copy of jQuery
|
|
||||||
jQuery = function( selector, context ) {
|
|
||||||
|
|
||||||
// The jQuery object is actually just the init constructor 'enhanced'
|
|
||||||
// Need init if jQuery is called (just allow error to be thrown if not included)
|
|
||||||
return new jQuery.fn.init( selector, context );
|
|
||||||
},
|
|
||||||
|
|
||||||
// Support: Android <=4.0 only
|
|
||||||
// Make sure we trim BOM and NBSP
|
|
||||||
rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
|
|
||||||
|
|
||||||
// Matches dashed string for camelizing
|
|
||||||
rmsPrefix = /^-ms-/,
|
|
||||||
rdashAlpha = /-([a-z])/g,
|
|
||||||
|
|
||||||
// Used by jQuery.camelCase as callback to replace()
|
|
||||||
fcamelCase = function( all, letter ) {
|
|
||||||
return letter.toUpperCase();
|
|
||||||
};
|
|
||||||
|
|
||||||
jQuery.fn = jQuery.prototype = {
|
|
||||||
|
|
||||||
// The current version of jQuery being used
|
|
||||||
jquery: version,
|
|
||||||
|
|
||||||
constructor: jQuery,
|
|
||||||
|
|
||||||
// The default length of a jQuery object is 0
|
|
||||||
length: 0,
|
|
||||||
|
|
||||||
toArray: function() {
|
|
||||||
return slice.call( this );
|
|
||||||
},
|
|
||||||
|
|
||||||
// Get the Nth element in the matched element set OR
|
|
||||||
// Get the whole matched element set as a clean array
|
|
||||||
get: function( num ) {
|
|
||||||
return num != null ?
|
|
||||||
|
|
||||||
// Return just the one element from the set
|
|
||||||
( num < 0 ? this[ num + this.length ] : this[ num ] ) :
|
|
||||||
|
|
||||||
// Return all the elements in a clean array
|
|
||||||
slice.call( this );
|
|
||||||
},
|
|
||||||
|
|
||||||
// Take an array of elements and push it onto the stack
|
|
||||||
// (returning the new matched element set)
|
|
||||||
pushStack: function( elems ) {
|
|
||||||
|
|
||||||
// Build a new jQuery matched element set
|
|
||||||
var ret = jQuery.merge( this.constructor(), elems );
|
|
||||||
|
|
||||||
// Add the old object onto the stack (as a reference)
|
|
||||||
ret.prevObject = this;
|
|
||||||
|
|
||||||
// Return the newly-formed element set
|
|
||||||
return ret;
|
|
||||||
},
|
|
||||||
|
|
||||||
// Execute a callback for every element in the matched set.
|
|
||||||
each: function( callback ) {
|
|
||||||
return jQuery.each( this, callback );
|
|
||||||
},
|
|
||||||
|
|
||||||
map: function( callback ) {
|
|
||||||
return this.pushStack( jQuery.map( this, function( elem, i ) {
|
|
||||||
return callback.call( elem, i, elem );
|
|
||||||
} ) );
|
|
||||||
},
|
|
||||||
|
|
||||||
slice: function() {
|
|
||||||
return this.pushStack( slice.apply( this, arguments ) );
|
|
||||||
},
|
|
||||||
|
|
||||||
first: function() {
|
|
||||||
return this.eq( 0 );
|
|
||||||
},
|
|
||||||
|
|
||||||
last: function() {
|
|
||||||
return this.eq( -1 );
|
|
||||||
},
|
|
||||||
|
|
||||||
eq: function( i ) {
|
|
||||||
var len = this.length,
|
|
||||||
j = +i + ( i < 0 ? len : 0 );
|
|
||||||
return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );
|
|
||||||
},
|
|
||||||
|
|
||||||
end: function() {
|
|
||||||
return this.prevObject || this.constructor();
|
|
||||||
},
|
|
||||||
|
|
||||||
// For internal use only.
|
|
||||||
// Behaves like an Array's method, not like a jQuery method.
|
|
||||||
push: push,
|
|
||||||
sort: arr.sort,
|
|
||||||
splice: arr.splice
|
|
||||||
};
|
|
||||||
|
|
||||||
jQuery.extend = jQuery.fn.extend = function() {
|
|
||||||
var options, name, src, copy, copyIsArray, clone,
|
|
||||||
target = arguments[ 0 ] || {},
|
|
||||||
i = 1,
|
|
||||||
length = arguments.length,
|
|
||||||
deep = false;
|
|
||||||
|
|
||||||
// Handle a deep copy situation
|
|
||||||
if ( typeof target === "boolean" ) {
|
|
||||||
deep = target;
|
|
||||||
|
|
||||||
// Skip the boolean and the target
|
|
||||||
target = arguments[ i ] || {};
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Handle case when target is a string or something (possible in deep copy)
|
|
||||||
if ( typeof target !== "object" && !jQuery.isFunction( target ) ) {
|
|
||||||
target = {};
|
|
||||||
}
|
|
||||||
|
|
||||||
// Extend jQuery itself if only one argument is passed
|
|
||||||
if ( i === length ) {
|
|
||||||
target = this;
|
|
||||||
i--;
|
|
||||||
}
|
|
||||||
|
|
||||||
for ( ; i < length; i++ ) {
|
|
||||||
|
|
||||||
// Only deal with non-null/undefined values
|
|
||||||
if ( ( options = arguments[ i ] ) != null ) {
|
|
||||||
|
|
||||||
// Extend the base object
|
|
||||||
for ( name in options ) {
|
|
||||||
src = target[ name ];
|
|
||||||
copy = options[ name ];
|
|
||||||
|
|
||||||
// Prevent never-ending loop
|
|
||||||
if ( target === copy ) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Recurse if we're merging plain objects or arrays
|
|
||||||
if ( deep && copy && ( jQuery.isPlainObject( copy ) ||
|
|
||||||
( copyIsArray = jQuery.isArray( copy ) ) ) ) {
|
|
||||||
|
|
||||||
if ( copyIsArray ) {
|
|
||||||
copyIsArray = false;
|
|
||||||
clone = src && jQuery.isArray( src ) ? src : [];
|
|
||||||
|
|
||||||
} else {
|
|
||||||
clone = src && jQuery.isPlainObject( src ) ? src : {};
|
|
||||||
}
|
|
||||||
|
|
||||||
// Never move original objects, clone them
|
|
||||||
target[ name ] = jQuery.extend( deep, clone, copy );
|
|
||||||
|
|
||||||
// Don't bring in undefined values
|
|
||||||
} else if ( copy !== undefined ) {
|
|
||||||
target[ name ] = copy;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Return the modified object
|
|
||||||
return target;
|
|
||||||
};
|
|
||||||
|
|
||||||
jQuery.extend( {
|
|
||||||
|
|
||||||
// Unique for each copy of jQuery on the page
|
|
||||||
expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ),
|
|
||||||
|
|
||||||
// Assume jQuery is ready without the ready module
|
|
||||||
isReady: true,
|
|
||||||
|
|
||||||
error: function( msg ) {
|
|
||||||
throw new Error( msg );
|
|
||||||
},
|
|
||||||
|
|
||||||
noop: function() {},
|
|
||||||
|
|
||||||
isFunction: function( obj ) {
|
|
||||||
return jQuery.type( obj ) === "function";
|
|
||||||
},
|
|
||||||
|
|
||||||
isArray: Array.isArray,
|
|
||||||
|
|
||||||
isWindow: function( obj ) {
|
|
||||||
return obj != null && obj === obj.window;
|
|
||||||
},
|
|
||||||
|
|
||||||
isNumeric: function( obj ) {
|
|
||||||
|
|
||||||
// As of jQuery 3.0, isNumeric is limited to
|
|
||||||
// strings and numbers (primitives or objects)
|
|
||||||
// that can be coerced to finite numbers (gh-2662)
|
|
||||||
var type = jQuery.type( obj );
|
|
||||||
return ( type === "number" || type === "string" ) &&
|
|
||||||
|
|
||||||
// parseFloat NaNs numeric-cast false positives ("")
|
|
||||||
// ...but misinterprets leading-number strings, particularly hex literals ("0x...")
|
|
||||||
// subtraction forces infinities to NaN
|
|
||||||
!isNaN( obj - parseFloat( obj ) );
|
|
||||||
},
|
|
||||||
|
|
||||||
isPlainObject: function( obj ) {
|
|
||||||
var proto, Ctor;
|
|
||||||
|
|
||||||
// Detect obvious negatives
|
|
||||||
// Use toString instead of jQuery.type to catch host objects
|
|
||||||
if ( !obj || toString.call( obj ) !== "[object Object]" ) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
proto = getProto( obj );
|
|
||||||
|
|
||||||
// Objects with no prototype (e.g., `Object.create( null )`) are plain
|
|
||||||
if ( !proto ) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Objects with prototype are plain iff they were constructed by a global Object function
|
|
||||||
Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor;
|
|
||||||
return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString;
|
|
||||||
},
|
|
||||||
|
|
||||||
isEmptyObject: function( obj ) {
|
|
||||||
|
|
||||||
/* eslint-disable no-unused-vars */
|
|
||||||
// See https://github.com/eslint/eslint/issues/6125
|
|
||||||
var name;
|
|
||||||
|
|
||||||
for ( name in obj ) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
},
|
|
||||||
|
|
||||||
type: function( obj ) {
|
|
||||||
if ( obj == null ) {
|
|
||||||
return obj + "";
|
|
||||||
}
|
|
||||||
|
|
||||||
// Support: Android <=2.3 only (functionish RegExp)
|
|
||||||
return typeof obj === "object" || typeof obj === "function" ?
|
|
||||||
class2type[ toString.call( obj ) ] || "object" :
|
|
||||||
typeof obj;
|
|
||||||
},
|
|
||||||
|
|
||||||
// Evaluates a script in a global context
|
|
||||||
globalEval: function( code ) {
|
|
||||||
DOMEval( code );
|
|
||||||
},
|
|
||||||
|
|
||||||
// Convert dashed to camelCase; used by the css and data modules
|
|
||||||
// Support: IE <=9 - 11, Edge 12 - 13
|
|
||||||
// Microsoft forgot to hump their vendor prefix (#9572)
|
|
||||||
camelCase: function( string ) {
|
|
||||||
return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
|
|
||||||
},
|
|
||||||
|
|
||||||
nodeName: function( elem, name ) {
|
|
||||||
return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
|
|
||||||
},
|
|
||||||
|
|
||||||
each: function( obj, callback ) {
|
|
||||||
var length, i = 0;
|
|
||||||
|
|
||||||
if ( isArrayLike( obj ) ) {
|
|
||||||
length = obj.length;
|
|
||||||
for ( ; i < length; i++ ) {
|
|
||||||
if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
for ( i in obj ) {
|
|
||||||
if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return obj;
|
|
||||||
},
|
|
||||||
|
|
||||||
// Support: Android <=4.0 only
|
|
||||||
trim: function( text ) {
|
|
||||||
return text == null ?
|
|
||||||
"" :
|
|
||||||
( text + "" ).replace( rtrim, "" );
|
|
||||||
},
|
|
||||||
|
|
||||||
// results is for internal usage only
|
|
||||||
makeArray: function( arr, results ) {
|
|
||||||
var ret = results || [];
|
|
||||||
|
|
||||||
if ( arr != null ) {
|
|
||||||
if ( isArrayLike( Object( arr ) ) ) {
|
|
||||||
jQuery.merge( ret,
|
|
||||||
typeof arr === "string" ?
|
|
||||||
[ arr ] : arr
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
push.call( ret, arr );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return ret;
|
|
||||||
},
|
|
||||||
|
|
||||||
inArray: function( elem, arr, i ) {
|
|
||||||
return arr == null ? -1 : indexOf.call( arr, elem, i );
|
|
||||||
},
|
|
||||||
|
|
||||||
// Support: Android <=4.0 only, PhantomJS 1 only
|
|
||||||
// push.apply(_, arraylike) throws on ancient WebKit
|
|
||||||
merge: function( first, second ) {
|
|
||||||
var len = +second.length,
|
|
||||||
j = 0,
|
|
||||||
i = first.length;
|
|
||||||
|
|
||||||
for ( ; j < len; j++ ) {
|
|
||||||
first[ i++ ] = second[ j ];
|
|
||||||
}
|
|
||||||
|
|
||||||
first.length = i;
|
|
||||||
|
|
||||||
return first;
|
|
||||||
},
|
|
||||||
|
|
||||||
grep: function( elems, callback, invert ) {
|
|
||||||
var callbackInverse,
|
|
||||||
matches = [],
|
|
||||||
i = 0,
|
|
||||||
length = elems.length,
|
|
||||||
callbackExpect = !invert;
|
|
||||||
|
|
||||||
// Go through the array, only saving the items
|
|
||||||
// that pass the validator function
|
|
||||||
for ( ; i < length; i++ ) {
|
|
||||||
callbackInverse = !callback( elems[ i ], i );
|
|
||||||
if ( callbackInverse !== callbackExpect ) {
|
|
||||||
matches.push( elems[ i ] );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return matches;
|
|
||||||
},
|
|
||||||
|
|
||||||
// arg is for internal usage only
|
|
||||||
map: function( elems, callback, arg ) {
|
|
||||||
var length, value,
|
|
||||||
i = 0,
|
|
||||||
ret = [];
|
|
||||||
|
|
||||||
// Go through the array, translating each of the items to their new values
|
|
||||||
if ( isArrayLike( elems ) ) {
|
|
||||||
length = elems.length;
|
|
||||||
for ( ; i < length; i++ ) {
|
|
||||||
value = callback( elems[ i ], i, arg );
|
|
||||||
|
|
||||||
if ( value != null ) {
|
|
||||||
ret.push( value );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Go through every key on the object,
|
|
||||||
} else {
|
|
||||||
for ( i in elems ) {
|
|
||||||
value = callback( elems[ i ], i, arg );
|
|
||||||
|
|
||||||
if ( value != null ) {
|
|
||||||
ret.push( value );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Flatten any nested arrays
|
|
||||||
return concat.apply( [], ret );
|
|
||||||
},
|
|
||||||
|
|
||||||
// A global GUID counter for objects
|
|
||||||
guid: 1,
|
|
||||||
|
|
||||||
// Bind a function to a context, optionally partially applying any
|
|
||||||
// arguments.
|
|
||||||
proxy: function( fn, context ) {
|
|
||||||
var tmp, args, proxy;
|
|
||||||
|
|
||||||
if ( typeof context === "string" ) {
|
|
||||||
tmp = fn[ context ];
|
|
||||||
context = fn;
|
|
||||||
fn = tmp;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Quick check to determine if target is callable, in the spec
|
|
||||||
// this throws a TypeError, but we will just return undefined.
|
|
||||||
if ( !jQuery.isFunction( fn ) ) {
|
|
||||||
return undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Simulated bind
|
|
||||||
args = slice.call( arguments, 2 );
|
|
||||||
proxy = function() {
|
|
||||||
return fn.apply( context || this, args.concat( slice.call( arguments ) ) );
|
|
||||||
};
|
|
||||||
|
|
||||||
// Set the guid of unique handler to the same of original handler, so it can be removed
|
|
||||||
proxy.guid = fn.guid = fn.guid || jQuery.guid++;
|
|
||||||
|
|
||||||
return proxy;
|
|
||||||
},
|
|
||||||
|
|
||||||
now: Date.now,
|
|
||||||
|
|
||||||
// jQuery.support is not used in Core but other projects attach their
|
|
||||||
// properties to it so it needs to exist.
|
|
||||||
support: support
|
|
||||||
} );
|
|
||||||
|
|
||||||
if ( typeof Symbol === "function" ) {
|
|
||||||
jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ];
|
|
||||||
}
|
|
||||||
|
|
||||||
// Populate the class2type map
|
|
||||||
jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ),
|
|
||||||
function( i, name ) {
|
|
||||||
class2type[ "[object " + name + "]" ] = name.toLowerCase();
|
|
||||||
} );
|
|
||||||
|
|
||||||
function isArrayLike( obj ) {
|
|
||||||
|
|
||||||
// Support: real iOS 8.2 only (not reproducible in simulator)
|
|
||||||
// `in` check used to prevent JIT error (gh-2145)
|
|
||||||
// hasOwn isn't used here due to false negatives
|
|
||||||
// regarding Nodelist length in IE
|
|
||||||
var length = !!obj && "length" in obj && obj.length,
|
|
||||||
type = jQuery.type( obj );
|
|
||||||
|
|
||||||
if ( type === "function" || jQuery.isWindow( obj ) ) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return type === "array" || length === 0 ||
|
|
||||||
typeof length === "number" && length > 0 && ( length - 1 ) in obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
return jQuery;
|
|
||||||
} );
|
|
||||||
10074
modules/jquery/dist/jquery.js
vendored
10074
modules/jquery/dist/jquery.js
vendored
File diff suppressed because it is too large
Load diff
8
modules/jquery/dist/jquery.min.js
vendored
8
modules/jquery/dist/jquery.min.js
vendored
File diff suppressed because one or more lines are too long
1
modules/jquery/dist/jquery.min.map
vendored
1
modules/jquery/dist/jquery.min.map
vendored
File diff suppressed because one or more lines are too long
7966
modules/jquery/dist/jquery.slim.js
vendored
7966
modules/jquery/dist/jquery.slim.js
vendored
File diff suppressed because it is too large
Load diff
4
modules/jquery/dist/jquery.slim.min.js
vendored
4
modules/jquery/dist/jquery.slim.min.js
vendored
File diff suppressed because one or more lines are too long
1
modules/jquery/dist/jquery.slim.min.map
vendored
1
modules/jquery/dist/jquery.slim.min.map
vendored
File diff suppressed because one or more lines are too long
121
modules/jquery/external/sizzle/dist/sizzle.js
vendored
121
modules/jquery/external/sizzle/dist/sizzle.js
vendored
|
|
@ -1,12 +1,12 @@
|
||||||
/*!
|
/*!
|
||||||
* Sizzle CSS Selector Engine v2.3.0
|
* Sizzle CSS Selector Engine v2.3.3
|
||||||
* https://sizzlejs.com/
|
* https://sizzlejs.com/
|
||||||
*
|
*
|
||||||
* Copyright jQuery Foundation and other contributors
|
* Copyright jQuery Foundation and other contributors
|
||||||
* Released under the MIT license
|
* Released under the MIT license
|
||||||
* http://jquery.org/license
|
* http://jquery.org/license
|
||||||
*
|
*
|
||||||
* Date: 2016-01-04
|
* Date: 2016-08-08
|
||||||
*/
|
*/
|
||||||
(function( window ) {
|
(function( window ) {
|
||||||
|
|
||||||
|
|
@ -152,7 +152,7 @@ var i,
|
||||||
|
|
||||||
// CSS string/identifier serialization
|
// CSS string/identifier serialization
|
||||||
// https://drafts.csswg.org/cssom/#common-serializing-idioms
|
// https://drafts.csswg.org/cssom/#common-serializing-idioms
|
||||||
rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,
|
rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,
|
||||||
fcssescape = function( ch, asCodePoint ) {
|
fcssescape = function( ch, asCodePoint ) {
|
||||||
if ( asCodePoint ) {
|
if ( asCodePoint ) {
|
||||||
|
|
||||||
|
|
@ -179,7 +179,7 @@ var i,
|
||||||
|
|
||||||
disabledAncestor = addCombinator(
|
disabledAncestor = addCombinator(
|
||||||
function( elem ) {
|
function( elem ) {
|
||||||
return elem.disabled === true;
|
return elem.disabled === true && ("form" in elem || "label" in elem);
|
||||||
},
|
},
|
||||||
{ dir: "parentNode", next: "legend" }
|
{ dir: "parentNode", next: "legend" }
|
||||||
);
|
);
|
||||||
|
|
@ -465,26 +465,54 @@ function createButtonPseudo( type ) {
|
||||||
* @param {Boolean} disabled true for :disabled; false for :enabled
|
* @param {Boolean} disabled true for :disabled; false for :enabled
|
||||||
*/
|
*/
|
||||||
function createDisabledPseudo( disabled ) {
|
function createDisabledPseudo( disabled ) {
|
||||||
// Known :disabled false positives:
|
|
||||||
// IE: *[disabled]:not(button, input, select, textarea, optgroup, option, menuitem, fieldset)
|
// Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable
|
||||||
// not IE: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable
|
|
||||||
return function( elem ) {
|
return function( elem ) {
|
||||||
|
|
||||||
// Check form elements and option elements for explicit disabling
|
// Only certain elements can match :enabled or :disabled
|
||||||
return "label" in elem && elem.disabled === disabled ||
|
// https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled
|
||||||
"form" in elem && elem.disabled === disabled ||
|
// https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled
|
||||||
|
if ( "form" in elem ) {
|
||||||
|
|
||||||
// Check non-disabled form elements for fieldset[disabled] ancestors
|
// Check for inherited disabledness on relevant non-disabled elements:
|
||||||
"form" in elem && elem.disabled === false && (
|
// * listed form-associated elements in a disabled fieldset
|
||||||
// Support: IE6-11+
|
// https://html.spec.whatwg.org/multipage/forms.html#category-listed
|
||||||
// Ancestry is covered for us
|
// https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled
|
||||||
elem.isDisabled === disabled ||
|
// * option elements in a disabled optgroup
|
||||||
|
// https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled
|
||||||
|
// All such elements have a "form" property.
|
||||||
|
if ( elem.parentNode && elem.disabled === false ) {
|
||||||
|
|
||||||
// Otherwise, assume any non-<option> under fieldset[disabled] is disabled
|
// Option elements defer to a parent optgroup if present
|
||||||
/* jshint -W018 */
|
if ( "label" in elem ) {
|
||||||
elem.isDisabled !== !disabled &&
|
if ( "label" in elem.parentNode ) {
|
||||||
("label" in elem || !disabledAncestor( elem )) !== disabled
|
return elem.parentNode.disabled === disabled;
|
||||||
);
|
} else {
|
||||||
|
return elem.disabled === disabled;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Support: IE 6 - 11
|
||||||
|
// Use the isDisabled shortcut property to check for disabled fieldset ancestors
|
||||||
|
return elem.isDisabled === disabled ||
|
||||||
|
|
||||||
|
// Where there is no isDisabled, check manually
|
||||||
|
/* jshint -W018 */
|
||||||
|
elem.isDisabled !== !disabled &&
|
||||||
|
disabledAncestor( elem ) === disabled;
|
||||||
|
}
|
||||||
|
|
||||||
|
return elem.disabled === disabled;
|
||||||
|
|
||||||
|
// Try to winnow out elements that can't be disabled before trusting the disabled property.
|
||||||
|
// Some victims get caught in our net (label, legend, menu, track), but it shouldn't
|
||||||
|
// even exist on them, let alone have a boolean value.
|
||||||
|
} else if ( "label" in elem ) {
|
||||||
|
return elem.disabled === disabled;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Remaining elements are neither :enabled nor :disabled
|
||||||
|
return false;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -600,25 +628,21 @@ setDocument = Sizzle.setDocument = function( node ) {
|
||||||
return !document.getElementsByName || !document.getElementsByName( expando ).length;
|
return !document.getElementsByName || !document.getElementsByName( expando ).length;
|
||||||
});
|
});
|
||||||
|
|
||||||
// ID find and filter
|
// ID filter and find
|
||||||
if ( support.getById ) {
|
if ( support.getById ) {
|
||||||
Expr.find["ID"] = function( id, context ) {
|
|
||||||
if ( typeof context.getElementById !== "undefined" && documentIsHTML ) {
|
|
||||||
var m = context.getElementById( id );
|
|
||||||
return m ? [ m ] : [];
|
|
||||||
}
|
|
||||||
};
|
|
||||||
Expr.filter["ID"] = function( id ) {
|
Expr.filter["ID"] = function( id ) {
|
||||||
var attrId = id.replace( runescape, funescape );
|
var attrId = id.replace( runescape, funescape );
|
||||||
return function( elem ) {
|
return function( elem ) {
|
||||||
return elem.getAttribute("id") === attrId;
|
return elem.getAttribute("id") === attrId;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Expr.find["ID"] = function( id, context ) {
|
||||||
|
if ( typeof context.getElementById !== "undefined" && documentIsHTML ) {
|
||||||
|
var elem = context.getElementById( id );
|
||||||
|
return elem ? [ elem ] : [];
|
||||||
|
}
|
||||||
|
};
|
||||||
} else {
|
} else {
|
||||||
// Support: IE6/7
|
|
||||||
// getElementById is not reliable as a find shortcut
|
|
||||||
delete Expr.find["ID"];
|
|
||||||
|
|
||||||
Expr.filter["ID"] = function( id ) {
|
Expr.filter["ID"] = function( id ) {
|
||||||
var attrId = id.replace( runescape, funescape );
|
var attrId = id.replace( runescape, funescape );
|
||||||
return function( elem ) {
|
return function( elem ) {
|
||||||
|
|
@ -627,6 +651,36 @@ setDocument = Sizzle.setDocument = function( node ) {
|
||||||
return node && node.value === attrId;
|
return node && node.value === attrId;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Support: IE 6 - 7 only
|
||||||
|
// getElementById is not reliable as a find shortcut
|
||||||
|
Expr.find["ID"] = function( id, context ) {
|
||||||
|
if ( typeof context.getElementById !== "undefined" && documentIsHTML ) {
|
||||||
|
var node, i, elems,
|
||||||
|
elem = context.getElementById( id );
|
||||||
|
|
||||||
|
if ( elem ) {
|
||||||
|
|
||||||
|
// Verify the id attribute
|
||||||
|
node = elem.getAttributeNode("id");
|
||||||
|
if ( node && node.value === id ) {
|
||||||
|
return [ elem ];
|
||||||
|
}
|
||||||
|
|
||||||
|
// Fall back on getElementsByName
|
||||||
|
elems = context.getElementsByName( id );
|
||||||
|
i = 0;
|
||||||
|
while ( (elem = elems[i++]) ) {
|
||||||
|
node = elem.getAttributeNode("id");
|
||||||
|
if ( node && node.value === id ) {
|
||||||
|
return [ elem ];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tag
|
// Tag
|
||||||
|
|
@ -1667,6 +1721,7 @@ function addCombinator( matcher, combinator, base ) {
|
||||||
return matcher( elem, context, xml );
|
return matcher( elem, context, xml );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
} :
|
} :
|
||||||
|
|
||||||
// Check against all ancestor/preceding elements
|
// Check against all ancestor/preceding elements
|
||||||
|
|
@ -1711,6 +1766,7 @@ function addCombinator( matcher, combinator, base ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2073,8 +2129,7 @@ select = Sizzle.select = function( selector, context, results, seed ) {
|
||||||
// Reduce context if the leading compound selector is an ID
|
// Reduce context if the leading compound selector is an ID
|
||||||
tokens = match[0] = match[0].slice( 0 );
|
tokens = match[0] = match[0].slice( 0 );
|
||||||
if ( tokens.length > 2 && (token = tokens[0]).type === "ID" &&
|
if ( tokens.length > 2 && (token = tokens[0]).type === "ID" &&
|
||||||
support.getById && context.nodeType === 9 && documentIsHTML &&
|
context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[1].type ] ) {
|
||||||
Expr.relative[ tokens[1].type ] ) {
|
|
||||||
|
|
||||||
context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];
|
context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];
|
||||||
if ( !context ) {
|
if ( !context ) {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -32,7 +32,6 @@
|
||||||
"commit": "9914a8d9d581af0594e140c2d1af92892a626c94"
|
"commit": "9914a8d9d581af0594e140c2d1af92892a626c94"
|
||||||
},
|
},
|
||||||
"_source": "https://github.com/coderaiser/smalltalk.git",
|
"_source": "https://github.com/coderaiser/smalltalk.git",
|
||||||
"_target": "^2.1.3",
|
"_target": "2.1.3",
|
||||||
"_originalSource": "smalltalk",
|
"_originalSource": "smalltalk"
|
||||||
"_direct": true
|
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue