diff --git a/knockout-sortable.js b/knockout-sortable.js index dac7f6f..dcb470a 100644 --- a/knockout-sortable.js +++ b/knockout-sortable.js @@ -1,16 +1,54 @@ (function (factory) { "use strict"; - if (typeof define === "function" && define.amd) { - // AMD anonymous module - define(["knockout", "./Sortable"], factory); - } else if (typeof require === "function" && typeof exports === "object" && typeof module === "object") { - // CommonJS module - var ko = require("knockout"); - var Sortable = require('./Sortable'); - factory(ko, Sortable); - } else { - // No module loader (plain