| 1 | ( function( factory ) { |
| 2 | "use strict"; |
| 3 | |
| 4 | if ( typeof define === "function" && define.amd ) { |
| 5 | |
| 6 | // AMD. Register as an anonymous module. |
| 7 | define( [ "jquery", "./version" ], factory ); |
| 8 | } else { |
| 9 | |
| 10 | // Browser globals |
| 11 | factory( jQuery ); |
| 12 | } |
| 13 | } )( function( $ ) { |
| 14 | "use strict"; |
| 15 | |
| 16 | // Create a local jQuery because jQuery Color relies on it and the |
| 17 | // global may not exist with AMD and a custom build (#10199). |
| 18 | // This module is a noop if used as a regular AMD module. |
| 19 | // eslint-disable-next-line no-unused-vars |
| 20 | var jQuery = $; |
| 21 | |
| 22 | } ); |