Browse Source

Added CommonJS support

pull/14/head
Scott Nelson 11 years ago
parent
commit
a9c8a1929f
  1. 3
      Sortable.js

3
Sortable.js

@ -11,6 +11,9 @@
if( typeof define === "function" && define.amd ){
define(factory);
}
else if( typeof module != "undefined" && typeof module.exports != "undefined" ){
module.exports = factory();
}
else {
window["Sortable"] = factory();
}

Loading…
Cancel
Save