diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-11-08 23:43:47 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-11-08 23:43:47 +0900 |
| commit | 68b1721ecf65484c1b679404246edc3627346c1b (patch) | |
| tree | a5a6258518f3bb6a2bd53b8683abc2a602f4e46c /src/web/app/common/scripts | |
| parent | :v: (diff) | |
| download | misskey-68b1721ecf65484c1b679404246edc3627346c1b.tar.gz misskey-68b1721ecf65484c1b679404246edc3627346c1b.tar.bz2 misskey-68b1721ecf65484c1b679404246edc3627346c1b.zip | |
なんかもうめっちゃやった
Diffstat (limited to 'src/web/app/common/scripts')
| -rw-r--r-- | src/web/app/common/scripts/generate-default-userdata.js | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/web/app/common/scripts/generate-default-userdata.js b/src/web/app/common/scripts/generate-default-userdata.js deleted file mode 100644 index 1200563e1a..0000000000 --- a/src/web/app/common/scripts/generate-default-userdata.js +++ /dev/null @@ -1,45 +0,0 @@ -import uuid from './uuid'; - -const home = { - left: [ - 'profile', - 'calendar', - 'rss-reader', - 'photo-stream', - 'version' - ], - right: [ - 'broadcast', - 'notifications', - 'user-recommendation', - 'donation', - 'nav', - 'tips' - ] -}; - -export default () => { - const homeData = []; - - home.left.forEach(widget => { - homeData.push({ - name: widget, - id: uuid(), - place: 'left' - }); - }); - - home.right.forEach(widget => { - homeData.push({ - name: widget, - id: uuid(), - place: 'right' - }); - }); - - const data = { - home: JSON.stringify(homeData) - }; - - return data; -}; |