From ac35adc77204053605062fd9d090c1730b927e07 Mon Sep 17 00:00:00 2001 From: xmcp Date: Thu, 20 Jun 2019 22:15:59 +0800 Subject: [PATCH] move imasugu out --- .gitmodules | 4 ---- src/App.js | 9 --------- src/imasugu | 1 - 3 files changed, 14 deletions(-) delete mode 160000 src/imasugu diff --git a/.gitmodules b/.gitmodules index acf50cf..d2ea439 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,7 +1,3 @@ -[submodule "src/imasugu"] - path = src/imasugu - url = https://github.com/xmcp/imasugu - [submodule "src/react-lazyload"] path = src/react-lazyload url = https://github.com/xmcp/react-lazyload diff --git a/src/App.js b/src/App.js index 934e96f..20be776 100644 --- a/src/App.js +++ b/src/App.js @@ -6,8 +6,6 @@ import {PressureHelper} from './PressureHelper'; import {TokenCtx,ISOP_APPKEY} from './UserAction'; import {load_config,bgimg_style} from './Config'; -import ImasuguApp from './imasugu/src/App'; - function DeprecatedAlert(props) { if(document.domain==='hole.xmcp.ml') return ( @@ -68,13 +66,6 @@ class App extends Component { } render() { - if(window.location.search.match(/[?&]imasugu($|&)/)) { - document.body.style.backgroundColor='white'; - return ( - - ); - } - return (