From 40276d7f1a20184a5390575697ef5660eaa34f07 Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Thu, 4 Jul 2019 20:26:12 +0900
Subject: [PATCH] =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88=E3=83=9A=E3=83=BC?=
 =?UTF-8?q?=E3=82=B8=E5=BB=83=E6=AD=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/client/app/boot.js              |  1 -
 src/client/app/test/script.ts       | 25 ---------
 src/client/app/test/style.styl      |  6 ---
 src/client/app/test/views/index.vue | 82 -----------------------------
 webpack.config.ts                   |  1 -
 5 files changed, 115 deletions(-)
 delete mode 100644 src/client/app/test/script.ts
 delete mode 100644 src/client/app/test/style.styl
 delete mode 100644 src/client/app/test/views/index.vue

diff --git a/src/client/app/boot.js b/src/client/app/boot.js
index 9af58076e..6cb1488e4 100644
--- a/src/client/app/boot.js
+++ b/src/client/app/boot.js
@@ -41,7 +41,6 @@
 	if (`${url.pathname}/`.startsWith('/dev/')) app = 'dev';
 	if (`${url.pathname}/`.startsWith('/auth/')) app = 'auth';
 	if (`${url.pathname}/`.startsWith('/admin/')) app = 'admin';
-	if (`${url.pathname}/`.startsWith('/test/')) app = 'test';
 	//#endregion
 
 	// Script version
diff --git a/src/client/app/test/script.ts b/src/client/app/test/script.ts
deleted file mode 100644
index 44fe224cb..000000000
--- a/src/client/app/test/script.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-import VueRouter from 'vue-router';
-
-// Style
-import './style.styl';
-
-import init from '../init';
-import Index from './views/index.vue';
-import NotFound from '../common/views/pages/not-found.vue';
-
-init(launch => {
-	document.title = 'Misskey';
-
-	// Init router
-	const router = new VueRouter({
-		mode: 'history',
-		base: '/test/',
-		routes: [
-			{ path: '/', component: Index },
-			{ path: '*', component: NotFound }
-		]
-	});
-
-	// Launch the app
-	launch(router);
-});
diff --git a/src/client/app/test/style.styl b/src/client/app/test/style.styl
deleted file mode 100644
index ae1a28226..000000000
--- a/src/client/app/test/style.styl
+++ /dev/null
@@ -1,6 +0,0 @@
-@import "../app"
-@import "../reset"
-
-html
-	height 100%
-	background var(--bg)
diff --git a/src/client/app/test/views/index.vue b/src/client/app/test/views/index.vue
deleted file mode 100644
index e0725d42a..000000000
--- a/src/client/app/test/views/index.vue
+++ /dev/null
@@ -1,82 +0,0 @@
-<template>
-<main>
-	<ui-card>
-		<template #title>MFM Playground</template>
-		<section class="fit-top">
-			<ui-textarea v-model="mfm">
-				<span>MFM</span>
-			</ui-textarea>
-		</section>
-		<section>
-			<header>Preview</header>
-			<mfm :text="mfm" :i="$store.state.i"/>
-		</section>
-		<section>
-			<header style="margin-bottom:0;">AST</header>
-			<ui-textarea v-model="mfmAst" readonly tall style="margin-top:16px;"></ui-textarea>
-		</section>
-	</ui-card>
-
-	<ui-card>
-		<template #title>Dialog Generator</template>
-		<section class="fit-top">
-			<ui-select v-model="dialogType" placeholder="">
-				<option value="info">Information</option>
-				<option value="success">Success</option>
-				<option value="warning">Warning</option>
-				<option value="error">Error</option>
-			</ui-select>
-			<ui-input v-model="dialogTitle">
-				<span>Title</span>
-			</ui-input>
-			<ui-input v-model="dialogText">
-				<span>Text</span>
-			</ui-input>
-			<ui-switch v-model="dialogShowCancelButton">With cancel button</ui-switch>
-			<ui-button @click="showDialog">Show</ui-button>
-		</section>
-	</ui-card>
-</main>
-</template>
-
-<script lang="ts">
-import Vue from 'vue';
-import { parse } from '../../../../mfm/parse';
-import * as JSON5 from 'json5';
-
-export default Vue.extend({
-	data() {
-		return {
-			mfm: '',
-			dialogType: 'success',
-			dialogTitle: '',
-			dialogText: 'Hello World!',
-			dialogShowCancelButton: false
-		};
-	},
-
-	computed: {
-		mfmAst(): any {
-			return JSON5.stringify(parse(this.mfm), null, 2);
-		}
-	},
-
-	methods: {
-		showDialog() {
-			this.$root.dialog({
-				type: this.dialogType,
-				title: this.dialogTitle,
-				text: this.dialogText,
-				showCancelButton: this.dialogShowCancelButton
-			});
-		}
-	}
-});
-</script>
-
-<style lang="stylus" scoped>
-main
-	max-width 700px
-	margin 0 auto
-
-</style>
diff --git a/webpack.config.ts b/webpack.config.ts
index 5ec0a60d1..24d2337a7 100644
--- a/webpack.config.ts
+++ b/webpack.config.ts
@@ -45,7 +45,6 @@ module.exports = {
 		dev: './src/client/app/dev/script.ts',
 		auth: './src/client/app/auth/script.ts',
 		admin: './src/client/app/admin/script.ts',
-		test: './src/client/app/test/script.ts',
 		sw: './src/client/app/sw.js'
 	},
 	module: {