Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

Commit

Permalink
fix: duplicate class name prop and computed prop
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsasharegan committed Sep 18, 2017
1 parent d672f61 commit 79a9f44
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dist/vue-transmit.browser.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-transmit.browser.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/vue-transmit.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue-transmit.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-transmit.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-transmit.min.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"dev": "cross-env NODE_ENV=development webpack --progress --hide-modules -w",
"test": "php -S localhost:3000 -t ./test/",
"lib-size": "gzip -c dist/vue-transmit.min.js | wc -c",
"prepublishOnly": "npm run build",
"release": "standard-version",
"release:publish": "git push --follow-tags origin master; npm publish"
},
Expand Down
4 changes: 2 additions & 2 deletions src/components/VueTransmit.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<component :is="tag">
<div class="v-transmit__upload-area"
:class="[dragClass, uploadAreaClasses]"
:class="[isDraggingClass, uploadAreaClasses]"
draggable="true"
@click="handleClickUploaderAction"
@dragstart="$emit('drag-start', $event)"
Expand Down Expand Up @@ -97,7 +97,7 @@ export default {
inputEl() {
return this.$refs.hiddenFileInput
},
dragClass() {
isDraggingClass() {
return {
"v-transmit__drop-zone--is-dragging": this.dragging,
[this.dragClass]: this.dragging,
Expand Down

0 comments on commit 79a9f44

Please sign in to comment.