summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-11-08 23:43:47 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-11-08 23:43:47 +0900
commit68b1721ecf65484c1b679404246edc3627346c1b (patch)
treea5a6258518f3bb6a2bd53b8683abc2a602f4e46c /src/web/app/common/scripts
parent:v: (diff)
downloadmisskey-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.js45
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;
-};