1
0

resizable-resolveconflict.js 558 B

1234567891011121314151617181920
  1. (function (factory, define, require, module) {
  2. 'use strict';
  3. if (typeof define === 'function' && define.amd) {
  4. // AMD
  5. define(['jquery'], factory);
  6. } else if (typeof module === 'object' && typeof module.exports === 'object') {
  7. // CommonJS
  8. module.exports = factory(require('jquery'));
  9. } else {
  10. // Global jQuery
  11. factory(jQuery);
  12. }
  13. }(function ($) {
  14. 'use strict';
  15. // rename to avoid conflict with jquery-resizable
  16. $.fn.uiresizable = $.fn.resizable;
  17. delete $.fn.resizable;
  18. }));