iflrandevu/assets/ext/trumbowyg/plugins/resizimg/resizable-resolveconflict.js
2020-05-12 20:59:29 +02:00

20 lines
558 B
JavaScript

(function (factory, define, require, module) {
'use strict';
if (typeof define === 'function' && define.amd) {
// AMD
define(['jquery'], factory);
} else if (typeof module === 'object' && typeof module.exports === 'object') {
// CommonJS
module.exports = factory(require('jquery'));
} else {
// Global jQuery
factory(jQuery);
}
}(function ($) {
'use strict';
// rename to avoid conflict with jquery-resizable
$.fn.uiresizable = $.fn.resizable;
delete $.fn.resizable;
}));