update components

This commit is contained in:
Luke Pulverenti 2016-09-23 02:57:24 -04:00
parent 0c7088e379
commit cf2c7ca241
157 changed files with 2861 additions and 2975 deletions

View file

@ -1,5 +1,5 @@
/* global Symbol */
// Defining this global in .eslintrc would create a danger of using the global
// Defining this global in .eslintrc.json would create a danger of using the global
// unguarded in another place, it seems safer to define global only for this module
define( [
@ -24,7 +24,7 @@ define( [
"use strict";
var
version = "3.1.0",
version = "3.1.1",
// Define a local copy of jQuery
jQuery = function( selector, context ) {
@ -64,13 +64,14 @@ jQuery.fn = jQuery.prototype = {
// 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
if ( num == null ) {
return slice.call( this );
}
// Return all the elements in a clean array
slice.call( this );
// Return just the one element from the set
return num < 0 ? this[ num + this.length ] : this[ num ];
},
// Take an array of elements and push it onto the stack