Skip to content

Commit 9ad03c2

Browse files
author
pc-david\david.desmaisons
committed
fix typo+ case sensitive change for sortable dependency
1 parent a81cc86 commit 9ad03c2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vuedragablefor",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"description": "vue dragable for directive",
55
"main": "src/vuedragablefor.js",
66
"files": [

src/vuedragablefor.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,17 @@
131131
}
132132
});
133133

134+
//With typo: should be removed in next release
134135
Vue.directive('dragable-for', dragableForDirective);
136+
Vue.directive('draggable-for', dragableForDirective);
135137
}
136138
};
137139
return vueDragFor;
138140
}
139141

140142
if (typeof exports == "object") {
141143
var _ = require("lodash");
142-
var Sortable = require("Sortablejs");
144+
var Sortable = require("sortablejs");
143145
module.exports = buildVueDragFor(_, Sortable);
144146
} else if (typeof define == "function" && define.amd) {
145147
define(['lodash', 'Sortable'], function(_, Sortable){ return buildVueDragFor(_, Sortable);});

0 commit comments

Comments
 (0)