mirror of
https://github.com/thomaspark/bootswatch.git
synced 2025-10-15 05:52:58 +00:00
add v3.4.0 to docs
This commit is contained in:
@@ -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;
|
||||
});
|
||||
} );
|
||||
}
|
||||
|
||||
});
|
||||
} );
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
});
|
||||
} );
|
||||
|
Reference in New Issue
Block a user