mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
23 lines
530 B
JavaScript
23 lines
530 B
JavaScript
|
( function( factory ) {
|
||
|
"use strict";
|
||
|
|
||
|
if ( typeof define === "function" && define.amd ) {
|
||
|
|
||
|
// AMD. Register as an anonymous module.
|
||
|
define( [ "jquery", "./version" ], factory );
|
||
|
} else {
|
||
|
|
||
|
// Browser globals
|
||
|
factory( jQuery );
|
||
|
}
|
||
|
} )( function( $ ) {
|
||
|
"use strict";
|
||
|
|
||
|
// Create a local jQuery because jQuery Color relies on it and the
|
||
|
// global may not exist with AMD and a custom build (#10199).
|
||
|
// This module is a noop if used as a regular AMD module.
|
||
|
// eslint-disable-next-line no-unused-vars
|
||
|
var jQuery = $;
|
||
|
|
||
|
} );
|