Skip to content

Commit 87e1117

Browse files
Fix issue #73 : AMD loading
1 parent afc342c commit 87e1117

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/vuedraggable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
270270
var Sortable = require("sortablejs");
271271
module.exports = buildDraggable(Sortable);
272272
} else if (typeof define == "function" && define.amd) {
273-
define(['Sortable'], function (Sortable) {
273+
define(['sortablejs'], function (Sortable) {
274274
return buildDraggable(Sortable);
275275
});
276276
} else if (window && window.Vue && window.Sortable) {

dist/vuedraggable.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/vuedraggable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@
259259
var Sortable = require("sortablejs")
260260
module.exports = buildDraggable(Sortable)
261261
} else if (typeof define == "function" && define.amd) {
262-
define(['Sortable'], function(Sortable) { return buildDraggable(Sortable);});
262+
define(['sortablejs'], function(Sortable) { return buildDraggable(Sortable);});
263263
} else if ( window && (window.Vue) && (window.Sortable)) {
264264
var draggable = buildDraggable(window.Sortable)
265265
Vue.component('draggable', draggable)

0 commit comments

Comments
 (0)