mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 02:09:22 +02:00
Update jquery
This commit is contained in:
parent
da37585efd
commit
047e363a16
139 changed files with 32395 additions and 16 deletions
23
node_modules/jquery/src/core/camelCase.js
generated
vendored
Normal file
23
node_modules/jquery/src/core/camelCase.js
generated
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
define( [], function() {
|
||||
|
||||
"use strict";
|
||||
|
||||
// Matches dashed string for camelizing
|
||||
var rmsPrefix = /^-ms-/,
|
||||
rdashAlpha = /-([a-z])/g;
|
||||
|
||||
// Used by camelCase as callback to replace()
|
||||
function fcamelCase( _all, letter ) {
|
||||
return letter.toUpperCase();
|
||||
}
|
||||
|
||||
// Convert dashed to camelCase; used by the css and data modules
|
||||
// Support: IE <=9 - 11, Edge 12 - 15
|
||||
// Microsoft forgot to hump their vendor prefix (#9572)
|
||||
function camelCase( string ) {
|
||||
return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
|
||||
}
|
||||
|
||||
return camelCase;
|
||||
|
||||
} );
|
Loading…
Add table
Add a link
Reference in a new issue