mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 02:09:22 +02:00
Update node modules
This commit is contained in:
parent
52a013772f
commit
09d8558456
858 changed files with 5466 additions and 544833 deletions
43
node_modules/jquery-ui/ui/jquery-patch.js
generated
vendored
43
node_modules/jquery-ui/ui/jquery-patch.js
generated
vendored
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* jQuery UI Support for jQuery core 1.8.x and newer 1.13.3
|
||||
* jQuery UI Legacy jQuery Core patches 1.14.0
|
||||
* https://jqueryui.com
|
||||
*
|
||||
* Copyright OpenJS Foundation and other contributors
|
||||
|
@ -8,9 +8,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
//>>label: jQuery 1.8+ Support
|
||||
//>>label: Legacy jQuery Core patches
|
||||
//>>group: Core
|
||||
//>>description: Support version 1.8.x and newer of jQuery core
|
||||
//>>description: Backport `.even()`, `.odd()` and `$.escapeSelector` to older jQuery Core versions (deprecated)
|
||||
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
@ -27,45 +27,12 @@
|
|||
} )( function( $ ) {
|
||||
"use strict";
|
||||
|
||||
// Support: jQuery 1.9.x or older
|
||||
// $.expr[ ":" ] is deprecated.
|
||||
if ( !$.expr.pseudos ) {
|
||||
$.expr.pseudos = $.expr[ ":" ];
|
||||
}
|
||||
|
||||
// Support: jQuery 1.11.x or older
|
||||
// $.unique has been renamed to $.uniqueSort
|
||||
if ( !$.uniqueSort ) {
|
||||
$.uniqueSort = $.unique;
|
||||
}
|
||||
|
||||
// Support: jQuery 2.2.x or older.
|
||||
// This method has been defined in jQuery 3.0.0.
|
||||
// Code from https://github.com/jquery/jquery/blob/e539bac79e666bba95bba86d690b4e609dca2286/src/selector/escapeSelector.js
|
||||
if ( !$.escapeSelector ) {
|
||||
|
||||
// CSS string/identifier serialization
|
||||
// https://drafts.csswg.org/cssom/#common-serializing-idioms
|
||||
var rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;
|
||||
|
||||
var fcssescape = function( ch, asCodePoint ) {
|
||||
if ( asCodePoint ) {
|
||||
|
||||
// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER
|
||||
if ( ch === "\0" ) {
|
||||
return "\uFFFD";
|
||||
}
|
||||
|
||||
// Control characters and (dependent upon position) numbers get escaped as code points
|
||||
return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " ";
|
||||
}
|
||||
|
||||
// Other potentially-special ASCII characters get backslash-escaped
|
||||
return "\\" + ch;
|
||||
};
|
||||
|
||||
$.escapeSelector = function( sel ) {
|
||||
return ( sel + "" ).replace( rcssescape, fcssescape );
|
||||
$.escapeSelector = function( id ) {
|
||||
return CSS.escape( id + "" );
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue