Update of multiple frontend libs.

This commit is contained in:
baldo 2017-05-13 13:25:33 +02:00
commit a9c6ddc03b
276 changed files with 41257 additions and 19300 deletions

View file

@ -1,7 +1,9 @@
define([
define( [
"../core"
], function( jQuery ) {
"use strict";
// Register as a named AMD module, since jQuery can be concatenated with other
// files that may use define, but not via a proper concatenation script that
// understands anonymous AMD modules. A named AMD is safest and most robust
@ -18,7 +20,7 @@ define([
if ( typeof define === "function" && define.amd ) {
define( "jquery", [], function() {
return jQuery;
});
} );
}
});
} );

View file

@ -1,9 +1,11 @@
define([
"../core",
"../var/strundefined"
], function( jQuery, strundefined ) {
define( [
"../core"
], function( jQuery, noGlobal ) {
"use strict";
var
// Map over jQuery in case of overwrite
_jQuery = window.jQuery,
@ -25,8 +27,8 @@ jQuery.noConflict = function( deep ) {
// Expose jQuery and $ identifiers, even in AMD
// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
// and CommonJS for browser emulators (#13566)
if ( typeof noGlobal === strundefined ) {
if ( !noGlobal ) {
window.jQuery = window.$ = jQuery;
}
});
} );