diff options
Diffstat (limited to 'ui/jquery-var-for-color.js')
-rw-r--r-- | ui/jquery-var-for-color.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ui/jquery-var-for-color.js b/ui/jquery-var-for-color.js new file mode 100644 index 000000000..f37ed56da --- /dev/null +++ b/ui/jquery-var-for-color.js @@ -0,0 +1,22 @@ +( 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 = $; + +} ); |