mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-27 06:04:12 +01:00
- Manage lib through NPM - Move portal / Bootstrap files back to the itop-portal-base module (not managed through NPM yet) - Fix SCSS classes for the backoffice as it was based on the bootstrap CSS classes which are not there anymore Note: jQuery is included as a dependency, will check with the team if we can force it not to be retrieved
23 lines
296 B
JavaScript
23 lines
296 B
JavaScript
define( [
|
|
"../core",
|
|
"../ajax",
|
|
"../event"
|
|
], function( jQuery ) {
|
|
|
|
"use strict";
|
|
|
|
jQuery.each( [
|
|
"ajaxStart",
|
|
"ajaxStop",
|
|
"ajaxComplete",
|
|
"ajaxError",
|
|
"ajaxSuccess",
|
|
"ajaxSend"
|
|
], function( _i, type ) {
|
|
jQuery.fn[ type ] = function( fn ) {
|
|
return this.on( type, fn );
|
|
};
|
|
} );
|
|
|
|
} );
|