Skip to content

Commit

Permalink
fix typo+ case sensitive change for sortable dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
pc-david\david.desmaisons committed Aug 25, 2016
1 parent a81cc86 commit 9ad03c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vuedragablefor",
"version": "1.0.8",
"version": "1.0.9",
"description": "vue dragable for directive",
"main": "src/vuedragablefor.js",
"files": [
Expand Down
4 changes: 3 additions & 1 deletion src/vuedragablefor.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,17 @@
}
});

//With typo: should be removed in next release
Vue.directive('dragable-for', dragableForDirective);
Vue.directive('draggable-for', dragableForDirective);
}
};
return vueDragFor;
}

if (typeof exports == "object") {
var _ = require("lodash");
var Sortable = require("Sortablejs");
var Sortable = require("sortablejs");
module.exports = buildVueDragFor(_, Sortable);
} else if (typeof define == "function" && define.amd) {
define(['lodash', 'Sortable'], function(_, Sortable){ return buildVueDragFor(_, Sortable);});
Expand Down

0 comments on commit 9ad03c2

Please sign in to comment.