Browse Source

Merge pull request #14 from scttnlsn/master

Add CommonJS support
pull/17/head
Lebedev Konstantin 11 years ago
parent
commit
39856c014a
  1. 3
      Sortable.js

3
Sortable.js

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

Loading…
Cancel
Save