mirror of
https://github.com/Combodo/iTop.git
synced 2026-08-14 01:38:18 +02:00
20 lines
504 B
JavaScript
20 lines
504 B
JavaScript
;( function( factory ) {
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
// AMD. Register as an anonymous module.
|
|
define( [ "jquery" ], function ( jQuery ) {
|
|
return factory( jQuery, window );
|
|
} );
|
|
} else if ( typeof module === "object" && module.exports ) {
|
|
|
|
// Node/CommonJS
|
|
// eslint-disable-next-line no-undef
|
|
module.exports = factory( require( "jquery" ), window );
|
|
} else {
|
|
|
|
// Browser globals
|
|
factory( jQuery, window );
|
|
}
|
|
} )( function( jQuery, window ) {
|
|
"use strict";
|