Browse Source

#217: * modularizing

react
RubaXa 10 years ago
parent
commit
a89c2d5dc2
  1. 8
      react-sortable-mixin.js

8
react-sortable-mixin.js vendored

@ -6,12 +6,12 @@
(function (factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
define(['sortable'], factory);
}
else if (typeof module != 'undefined' && typeof module.exports != 'undefined') {
if (typeof module != 'undefined' && typeof module.exports != 'undefined') {
module.exports = factory(require('Sortable'));
}
else if (typeof define === 'function' && define.amd) {
define(['sortable'], factory);
}
else {
/* jshint sub:true */
window['SortableMixin'] = factory(Sortable);

Loading…
Cancel
Save