Skip to content

Commit 137a0e7

Browse files
New Release
1 parent f0ebebe commit 137a0e7

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "vue.dragable.for",
2+
"name": "vue.draggable",
33
"authors": ["desmaisons_david <[email protected]>"],
44
"description": "vue vuedraggable component",
55
"main": "dist/vuedraggable.min.js",

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "vuedragablefor",
2+
"name": "vuedraggable",
33
"version": "2.0.0",
44
"description": "draggable component for vue",
55
"main": "dist/vuedraggable.min.js",
@@ -50,12 +50,12 @@
5050
},
5151
"author": "David Desmaisons",
5252
"bugs": {
53-
"url": "https://github.com/David-Desmaisons/Vue.Dragable.For/issues"
53+
"url": "https://github.com/David-Desmaisons/Vue.Draggable/issues"
5454
},
5555
"license": "MIT",
56-
"homepage": "https://github.com/David-Desmaisons/Vue.Dragable.For#readme",
56+
"homepage": "https://github.com/David-Desmaisons/Vue.Draggable#readme",
5757
"repository": {
5858
"type": "git",
59-
"url": "https://github.com/David-Desmaisons/Vue.Dragable.For.git"
59+
"url": "https://github.com/David-Desmaisons/Vue.Draggable.git"
6060
}
6161
}

src/vuedraggable.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,11 @@
5252
function install (Vue) {
5353
const props = {
5454
options: Object,
55-
list: Array
55+
list: {
56+
type: Array,
57+
required: false,
58+
default: null
59+
}
5660
}
5761

5862
const draggableComponent = {

0 commit comments

Comments
 (0)