easyappointments/assets/ext/trumbowyg/plugins/resizimg/resizable-resolveconflict.js

21 lines
558 B
JavaScript
Raw Normal View History

2020-05-12 21:47:37 +03:00
(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;
}));