mirror of https://github.com/RubaXa/Sortable.git
RubaXa
10 years ago
1 changed files with 36 additions and 0 deletions
@ -0,0 +1,36 @@ |
|||||||
|
/** |
||||||
|
* @author RubaXa <trash@rubaxa.org> |
||||||
|
* @licence MIT |
||||||
|
*/ |
||||||
|
|
||||||
|
(function (factory) { |
||||||
|
'use strict'; |
||||||
|
|
||||||
|
if (typeof define === 'function' && define.amd) { |
||||||
|
define(['sortable'], factory); |
||||||
|
} |
||||||
|
else if (typeof module != 'undefined' && typeof module.exports != 'undefined') { |
||||||
|
module.exports = factory(require('Sortable')); |
||||||
|
} |
||||||
|
else { |
||||||
|
/* jshint sub:true */ |
||||||
|
window['SortableMixin'] = factory(Sortable); |
||||||
|
} |
||||||
|
})(function (/** Sortable */Sortable) { |
||||||
|
'use strict'; |
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* Simple and easy mixin-wrapper for rubaxa/Sortable library, in order to |
||||||
|
* make reorderable drag-and-drop lists on modern browsers and touch devices. |
||||||
|
* |
||||||
|
* @mixin |
||||||
|
*/ |
||||||
|
var SortableMixin = { |
||||||
|
sortableMixinVersion: '0.0.0' |
||||||
|
}; |
||||||
|
|
||||||
|
|
||||||
|
// Export
|
||||||
|
return SortableMixin; |
||||||
|
}); |
Loading…
Reference in new issue