Remove image uploading from Tour
This commit is contained in:
parent
2fd75fa25f
commit
084f65963d
3 changed files with 0 additions and 37 deletions
|
@ -16,21 +16,6 @@
|
|||
<img v-bind:src="backgroundImage" id="base-image" alt="" />
|
||||
<canvas id="meme-canvas" width="400" height="300">Sorry, canvas not supported</canvas>
|
||||
|
||||
<!--
|
||||
<div class="hook__page__content__meme__uploader">
|
||||
Upload an image
|
||||
<image-uploader
|
||||
:quality="0.8"
|
||||
:autoRotate=true
|
||||
:maxWidth="400"
|
||||
outputFormat="string"
|
||||
:preview=false
|
||||
@input="setImage"
|
||||
@onComplete="imageUploaded"
|
||||
></image-uploader>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<img v-for="image in images" v-bind:src="image.src" v-on:click="chooseImage(image.src)" class="thumbnail" v-bind:class="{'selected': backgroundImage == image.src}" v-bind:alt="image.alt">
|
||||
|
||||
</div>
|
||||
|
@ -113,7 +98,6 @@
|
|||
|
||||
<script>
|
||||
import imagesLoaded from 'vue-images-loaded'
|
||||
import { ImageUploader } from 'vue-image-upload-resize'
|
||||
|
||||
import EventBus from '../event-bus';
|
||||
|
||||
|
@ -121,9 +105,6 @@ export default {
|
|||
directives: {
|
||||
imagesLoaded
|
||||
},
|
||||
components: {
|
||||
ImageUploader
|
||||
},
|
||||
|
||||
data () {
|
||||
var images = [
|
||||
|
@ -206,8 +187,6 @@ export default {
|
|||
document.getElementById('base-image').src = file;
|
||||
// allow one second to load the image
|
||||
setTimeout(component.updateCanvas, 1000);
|
||||
},
|
||||
imageUploaded () {
|
||||
}
|
||||
},
|
||||
created () {
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
"slack-node": "^0.1.8",
|
||||
"vue": "^2.5.16",
|
||||
"vue-highlightjs": "^1.3.3",
|
||||
"vue-image-upload-resize": "^1.1.6",
|
||||
"vue-images-loaded": "^1.1.2",
|
||||
"vue-moment": "^3.2.0",
|
||||
"vue-resource": "^1.5.0",
|
||||
|
|
15
yarn.lock
15
yarn.lock
|
@ -1090,10 +1090,6 @@ bluebird@^3.1.1, bluebird@^3.5.1:
|
|||
version "3.5.1"
|
||||
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9"
|
||||
|
||||
blueimp-canvas-to-blob@^3.14.0:
|
||||
version "3.14.0"
|
||||
resolved "https://registry.yarnpkg.com/blueimp-canvas-to-blob/-/blueimp-canvas-to-blob-3.14.0.tgz#ea075ffbfb1436607b0c75e951fb1ceb3ca0288e"
|
||||
|
||||
bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0:
|
||||
version "4.11.8"
|
||||
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f"
|
||||
|
@ -2390,10 +2386,6 @@ execa@^0.8.0:
|
|||
signal-exit "^3.0.0"
|
||||
strip-eof "^1.0.0"
|
||||
|
||||
exif-js@^2.3.0:
|
||||
version "2.3.0"
|
||||
resolved "https://registry.yarnpkg.com/exif-js/-/exif-js-2.3.0.tgz#9d10819bf571f873813e7640241255ab9ce1a814"
|
||||
|
||||
expand-brackets@^2.1.4:
|
||||
version "2.1.4"
|
||||
resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622"
|
||||
|
@ -6642,13 +6634,6 @@ vue-hot-reload-api@^2.3.0:
|
|||
version "2.3.0"
|
||||
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.0.tgz#97976142405d13d8efae154749e88c4e358cf926"
|
||||
|
||||
vue-image-upload-resize@^1.1.6:
|
||||
version "1.1.6"
|
||||
resolved "https://registry.yarnpkg.com/vue-image-upload-resize/-/vue-image-upload-resize-1.1.6.tgz#b4d66a1a7cb111f7672e4d543c91dfebc58b44d0"
|
||||
dependencies:
|
||||
blueimp-canvas-to-blob "^3.14.0"
|
||||
exif-js "^2.3.0"
|
||||
|
||||
vue-images-loaded@^1.1.2:
|
||||
version "1.1.2"
|
||||
resolved "https://registry.yarnpkg.com/vue-images-loaded/-/vue-images-loaded-1.1.2.tgz#fc4ddb7fe708251bcdf6199879571491bf583fc8"
|
||||
|
|
Loading…
Reference in a new issue