diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-10-08 01:14:46 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-10-08 01:14:46 +0900 |
| commit | a780e7b936c826d7919b38d60dbd60c627f4dd6f (patch) | |
| tree | df861c897cbbcc04b3064120c113e82a49e817a5 /src | |
| parent | Improve theme (diff) | |
| download | sharkey-a780e7b936c826d7919b38d60dbd60c627f4dd6f.tar.gz sharkey-a780e7b936c826d7919b38d60dbd60c627f4dd6f.tar.bz2 sharkey-a780e7b936c826d7919b38d60dbd60c627f4dd6f.zip | |
Clean up
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/common/views/components/messaging-room.vue | 1 | ||||
| -rw-r--r-- | src/client/app/common/views/components/uploader.vue | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/client/app/common/views/components/messaging-room.vue b/src/client/app/common/views/components/messaging-room.vue index c2cd79e116..488dff528f 100644 --- a/src/client/app/common/views/components/messaging-room.vue +++ b/src/client/app/common/views/components/messaging-room.vue @@ -163,7 +163,6 @@ export default Vue.extend({ }, onMessage(message) { - console.log(message); // サウンドを再生する if (this.$store.state.device.enableSounds) { const sound = new Audio(`${url}/assets/message.mp3`); diff --git a/src/client/app/common/views/components/uploader.vue b/src/client/app/common/views/components/uploader.vue index fed6477c05..b812064bbb 100644 --- a/src/client/app/common/views/components/uploader.vue +++ b/src/client/app/common/views/components/uploader.vue @@ -50,7 +50,6 @@ export default Vue.extend({ const reader = new FileReader(); reader.onload = (e: any) => { this.checkExistence(e.target.result).then(result => { - console.log(result); if (result !== null) { this.$emit('uploaded', result); return; @@ -58,7 +57,7 @@ export default Vue.extend({ // Upload if the file didn't exist yet const buf = new Uint8Array(e.target.result); - let bin = ""; + let bin = ''; // We use for-of loop instead of apply() to avoid RangeError // SEE: https://stackoverflow.com/questions/9267899/arraybuffer-to-base64-encoded-string for (const byte of buf) bin += String.fromCharCode(byte); @@ -107,8 +106,6 @@ export default Vue.extend({ </script> <style lang="stylus" scoped> - - .mk-uploader overflow auto |