From d9ac6b03aa67e23f22b2b4666bcfa9d3a79127ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Pfoster?= Date: Tue, 17 Dec 2019 14:04:36 +0100 Subject: [PATCH 1/3] =?UTF-8?q?Create=20Bj=C3=B6rn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "components/commands/Bj\303\266rn" | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 "components/commands/Bj\303\266rn" diff --git "a/components/commands/Bj\303\266rn" "b/components/commands/Bj\303\266rn" new file mode 100644 index 0000000..febcfcf --- /dev/null +++ "b/components/commands/Bj\303\266rn" @@ -0,0 +1,12 @@ + + + From 5f05c575b89702f6152ba776197865cc51b4d92f Mon Sep 17 00:00:00 2001 From: = Date: Tue, 17 Dec 2019 14:16:32 +0100 Subject: [PATCH 2/3] Added bjoern to CLI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I added myself to your CLI ❤️ --- components/Commandline.vue | 10 +++++++++- .../commands/Bj\303\266rn.vue" | 3 +-- package.json | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) rename "components/commands/Bj\303\266rn" => "components/commands/Bj\303\266rn.vue" (88%) diff --git a/components/Commandline.vue b/components/Commandline.vue index 92c6a47..29bf307 100644 --- a/components/Commandline.vue +++ b/components/Commandline.vue @@ -37,6 +37,7 @@ import Background from '~/components/commands/Background' import Ruslan from '~/components/commands/Ruslan' import Math from '~/components/commands/Math' import Whatsmyip from '~/components/commands/Whatsmyip' +import Björn from '~/components/commands/Björn' export default { components: { @@ -48,7 +49,8 @@ export default { Background, Ruslan, Math, - Whatsmyip + Whatsmyip, + Björn }, data: () => ({ command: '', @@ -102,6 +104,12 @@ export default { case 'clear': this.componentList = [] break + case 'björn': + this.componentList.push(Björn) + break + case 'bjoern': + this.componentList.push(Björn) + break case '': break default: diff --git "a/components/commands/Bj\303\266rn" "b/components/commands/Bj\303\266rn.vue" similarity index 88% rename from "components/commands/Bj\303\266rn" rename to "components/commands/Bj\303\266rn.vue" index febcfcf..1d79663 100644 --- "a/components/commands/Bj\303\266rn" +++ "b/components/commands/Bj\303\266rn.vue" @@ -7,6 +7,5 @@ diff --git a/package.json b/package.json index 6cf9dcb..5502034 100644 --- a/package.json +++ b/package.json @@ -32,4 +32,4 @@ "prettier": "^1.16.4", "vue-jest": "^4.0.0-0" } -} \ No newline at end of file +} From deafd409a8d6f0107462c9ccd4ae2e66ecf10bcf Mon Sep 17 00:00:00 2001 From: = Date: Tue, 17 Dec 2019 14:18:23 +0100 Subject: [PATCH 3/3] Improved switch for bjoern --- components/Commandline.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/Commandline.vue b/components/Commandline.vue index 29bf307..cfdb545 100644 --- a/components/Commandline.vue +++ b/components/Commandline.vue @@ -105,8 +105,6 @@ export default { this.componentList = [] break case 'björn': - this.componentList.push(Björn) - break case 'bjoern': this.componentList.push(Björn) break