diff --git a/bower.json b/bower.json
index c934c0e..742b3ff 100644
--- a/bower.json
+++ b/bower.json
@@ -1,10 +1,10 @@
{
"name": "Sortable",
"main": [
- "Sortable.js",
- "ng-sortable.js",
- "knockout-sortable.js",
- "react-sortable-mixin.js"
+ "Sortable.js",
+ "ng-sortable.js",
+ "knockout-sortable.js",
+ "react-sortable-mixin.js"
],
"homepage": "http://rubaxa.github.io/Sortable/",
"authors": [
@@ -20,7 +20,7 @@
"and",
"drop",
"dnd",
- "web-components"
+ "web-components"
],
"license": "MIT",
"ignore": [
@@ -28,8 +28,5 @@
"bower_components",
"test",
"tests"
- ],
- "dependencies": {
- "polymer": "Polymer/polymer#~1.1.4",
- }
+ ]
}
diff --git a/knockout-sortable.js b/knockout-sortable.js
index fcf7d66..dac7f6f 100644
--- a/knockout-sortable.js
+++ b/knockout-sortable.js
@@ -2,32 +2,34 @@
"use strict";
if (typeof define === "function" && define.amd) {
// AMD anonymous module
- define(["knockout"], factory);
+ define(["knockout", "./Sortable"], factory);
} else if (typeof require === "function" && typeof exports === "object" && typeof module === "object") {
// CommonJS module
var ko = require("knockout");
- factory(ko);
+ var Sortable = require('./Sortable');
+ factory(ko, Sortable);
} else {
// No module loader (plain
+
+
+
+