Refactoring

This commit is contained in:
syuilo 2017-02-02 18:11:58 +09:00
parent 2230360e7e
commit 5a18d4bc80
15 changed files with 179 additions and 179 deletions

View file

@ -4,7 +4,7 @@
const riot = require('riot');
document.title = 'Misskey | アプリの連携';
require('./tags.ls');
require('./tags/index.ls');
const boot = require('../boot.js');
/**

View file

@ -1,2 +0,0 @@
require './tags/index.tag'
require './tags/form.tag'

View file

@ -0,0 +1,2 @@
require './index.tag'
require './form.tag'

View file

@ -9,7 +9,7 @@ const signout = require('./common/scripts/signout.ls');
const generateDefaultUserdata = require('./common/scripts/generate-default-userdata.ls');
const mixins = require('./common/mixins.ls');
const checkForUpdate = require('./common/scripts/check-for-update.ls');
require('./common/tags.ls');
require('./common/tags/index.ls');
/**
* MISSKEY ENTORY POINT!

View file

@ -1,19 +0,0 @@
require './tags/core-error.tag'
require './tags/url.tag'
require './tags/url-preview.tag'
require './tags/ripple-string.tag'
require './tags/time.tag'
require './tags/file-type-icon.tag'
require './tags/uploader.tag'
require './tags/ellipsis.tag'
require './tags/raw.tag'
require './tags/number.tag'
require './tags/special-message.tag'
require './tags/signin.tag'
require './tags/signup.tag'
require './tags/forkit.tag'
require './tags/introduction.tag'
require './tags/copyright.tag'
require './tags/signin-history.tag'
require './tags/api-info.tag'
require './tags/twitter-setting.tag'

View file

@ -0,0 +1,19 @@
require './core-error.tag'
require './url.tag'
require './url-preview.tag'
require './ripple-string.tag'
require './time.tag'
require './file-type-icon.tag'
require './uploader.tag'
require './ellipsis.tag'
require './raw.tag'
require './number.tag'
require './special-message.tag'
require './signin.tag'
require './signup.tag'
require './forkit.tag'
require './introduction.tag'
require './copyright.tag'
require './signin-history.tag'
require './api-info.tag'
require './twitter-setting.tag'

View file

@ -3,7 +3,7 @@
*/
require('chart.js');
require('./tags.ls');
require('./tags/index.ls');
const riot = require('riot');
const boot = require('../boot.js');
const mixins = require('./mixins.ls');

View file

@ -1,100 +0,0 @@
require './tags/contextmenu.tag'
require './tags/dialog.tag'
require './tags/window.tag'
require './tags/input-dialog.tag'
require './tags/follow-button.tag'
require './tags/drive/base-contextmenu.tag'
require './tags/drive/file-contextmenu.tag'
require './tags/drive/folder-contextmenu.tag'
require './tags/drive/file.tag'
require './tags/drive/folder.tag'
require './tags/drive/nav-folder.tag'
require './tags/drive/browser-window.tag'
require './tags/drive/browser.tag'
require './tags/select-file-from-drive-window.tag'
require './tags/crop-window.tag'
require './tags/settings.tag'
require './tags/settings-window.tag'
require './tags/analog-clock.tag'
require './tags/go-top.tag'
require './tags/ui-header.tag'
require './tags/ui-header-account.tag'
require './tags/ui-header-notifications.tag'
require './tags/ui-header-clock.tag'
require './tags/ui-header-nav.tag'
require './tags/ui-header-post-button.tag'
require './tags/ui-header-search.tag'
require './tags/notifications.tag'
require './tags/post-form-window.tag'
require './tags/post-form.tag'
require './tags/timeline-post.tag'
require './tags/post-preview.tag'
require './tags/repost-form-window.tag'
require './tags/home-widgets/user-recommendation.tag'
require './tags/home-widgets/timeline.tag'
require './tags/home-widgets/mentions.tag'
require './tags/home-widgets/calendar.tag'
require './tags/home-widgets/donation.tag'
require './tags/home-widgets/tips.tag'
require './tags/home-widgets/nav.tag'
require './tags/home-widgets/profile.tag'
require './tags/home-widgets/notifications.tag'
require './tags/home-widgets/rss-reader.tag'
require './tags/home-widgets/photo-stream.tag'
require './tags/home-widgets/broadcast.tag'
require './tags/stream-indicator.tag'
require './tags/timeline.tag'
require './tags/messaging/window.tag'
require './tags/messaging/room.tag'
require './tags/messaging/room-window.tag'
require './tags/messaging/message.tag'
require './tags/messaging/index.tag'
require './tags/messaging/form.tag'
require './tags/following-setuper.tag'
require './tags/ellipsis-icon.tag'
require './tags/ui.tag'
require './tags/home.tag'
require './tags/detect-slow-internet-connection-notice.tag'
require './tags/user-header.tag'
require './tags/user-profile.tag'
require './tags/user-timeline.tag'
require './tags/user.tag'
require './tags/user-home.tag'
require './tags/user-graphs.tag'
require './tags/user-photos.tag'
require './tags/big-follow-button.tag'
require './tags/pages/entrance.tag'
require './tags/pages/entrance/signin.tag'
require './tags/pages/entrance/signup.tag'
require './tags/pages/home.tag'
require './tags/pages/user.tag'
require './tags/pages/post.tag'
require './tags/pages/search.tag'
require './tags/pages/not-found.tag'
require './tags/autocomplete-suggestion.tag'
require './tags/progress-dialog.tag'
require './tags/user-preview.tag'
require './tags/post-detail.tag'
require './tags/post-detail-sub.tag'
require './tags/search.tag'
require './tags/search-posts.tag'
require './tags/set-avatar-suggestion.tag'
require './tags/set-banner-suggestion.tag'
require './tags/repost-form.tag'
require './tags/timeline-post-sub.tag'
require './tags/sub-post-content.tag'
require './tags/images-viewer.tag'
require './tags/image-dialog.tag'
require './tags/donation.tag'
require './tags/user-posts-graph.tag'
require './tags/user-friends-graph.tag'
require './tags/user-likes-graph.tag'
require './tags/post-status-graph.tag'
require './tags/debugger.tag'
require './tags/users-list.tag'
require './tags/user-following.tag'
require './tags/user-followers.tag'
require './tags/user-following-window.tag'
require './tags/user-followers-window.tag'
require './tags/list-user.tag'
require './tags/ui-notification.tag'

View file

@ -0,0 +1,100 @@
require './contextmenu.tag'
require './dialog.tag'
require './window.tag'
require './input-dialog.tag'
require './follow-button.tag'
require './drive/base-contextmenu.tag'
require './drive/file-contextmenu.tag'
require './drive/folder-contextmenu.tag'
require './drive/file.tag'
require './drive/folder.tag'
require './drive/nav-folder.tag'
require './drive/browser-window.tag'
require './drive/browser.tag'
require './select-file-from-drive-window.tag'
require './crop-window.tag'
require './settings.tag'
require './settings-window.tag'
require './analog-clock.tag'
require './go-top.tag'
require './ui-header.tag'
require './ui-header-account.tag'
require './ui-header-notifications.tag'
require './ui-header-clock.tag'
require './ui-header-nav.tag'
require './ui-header-post-button.tag'
require './ui-header-search.tag'
require './notifications.tag'
require './post-form-window.tag'
require './post-form.tag'
require './timeline-post.tag'
require './post-preview.tag'
require './repost-form-window.tag'
require './home-widgets/user-recommendation.tag'
require './home-widgets/timeline.tag'
require './home-widgets/mentions.tag'
require './home-widgets/calendar.tag'
require './home-widgets/donation.tag'
require './home-widgets/tips.tag'
require './home-widgets/nav.tag'
require './home-widgets/profile.tag'
require './home-widgets/notifications.tag'
require './home-widgets/rss-reader.tag'
require './home-widgets/photo-stream.tag'
require './home-widgets/broadcast.tag'
require './stream-indicator.tag'
require './timeline.tag'
require './messaging/window.tag'
require './messaging/room.tag'
require './messaging/room-window.tag'
require './messaging/message.tag'
require './messaging/index.tag'
require './messaging/form.tag'
require './following-setuper.tag'
require './ellipsis-icon.tag'
require './ui.tag'
require './home.tag'
require './detect-slow-internet-connection-notice.tag'
require './user-header.tag'
require './user-profile.tag'
require './user-timeline.tag'
require './user.tag'
require './user-home.tag'
require './user-graphs.tag'
require './user-photos.tag'
require './big-follow-button.tag'
require './pages/entrance.tag'
require './pages/entrance/signin.tag'
require './pages/entrance/signup.tag'
require './pages/home.tag'
require './pages/user.tag'
require './pages/post.tag'
require './pages/search.tag'
require './pages/not-found.tag'
require './autocomplete-suggestion.tag'
require './progress-dialog.tag'
require './user-preview.tag'
require './post-detail.tag'
require './post-detail-sub.tag'
require './search.tag'
require './search-posts.tag'
require './set-avatar-suggestion.tag'
require './set-banner-suggestion.tag'
require './repost-form.tag'
require './timeline-post-sub.tag'
require './sub-post-content.tag'
require './images-viewer.tag'
require './image-dialog.tag'
require './donation.tag'
require './user-posts-graph.tag'
require './user-friends-graph.tag'
require './user-likes-graph.tag'
require './post-status-graph.tag'
require './debugger.tag'
require './users-list.tag'
require './user-following.tag'
require './user-followers.tag'
require './user-following-window.tag'
require './user-followers-window.tag'
require './list-user.tag'
require './ui-notification.tag'

View file

@ -2,7 +2,7 @@
* Developer Center
*/
require('./tags.ls');
require('./tags/index.ls');
const boot = require('../boot.js');
const route = require('./router.ls');

View file

@ -1,5 +0,0 @@
require './tags/pages/index.tag'
require './tags/pages/apps.tag'
require './tags/pages/app.tag'
require './tags/pages/new-app.tag'
require './tags/new-app-form.tag'

View file

@ -0,0 +1,5 @@
require './pages/index.tag'
require './pages/apps.tag'
require './pages/app.tag'
require './pages/new-app.tag'
require './new-app-form.tag'

View file

@ -2,7 +2,7 @@
* Mobile Client
*/
require('./tags.ls');
require('./tags/index.ls');
const boot = require('../boot.js');
const mixins = require('./mixins.ls');
const route = require('./router.ls');

View file

@ -1,48 +0,0 @@
require './tags/ui.tag'
require './tags/ui-header.tag'
require './tags/ui-nav.tag'
require './tags/stream-indicator.tag'
require './tags/page/entrance.tag'
require './tags/page/entrance/signin.tag'
require './tags/page/entrance/signup.tag'
require './tags/page/home.tag'
require './tags/page/drive.tag'
require './tags/page/notifications.tag'
require './tags/page/user.tag'
require './tags/page/user-followers.tag'
require './tags/page/user-following.tag'
require './tags/page/post.tag'
require './tags/page/new-post.tag'
require './tags/page/search.tag'
require './tags/page/settings.tag'
require './tags/page/settings/signin.tag'
require './tags/page/settings/api.tag'
require './tags/page/settings/twitter.tag'
require './tags/home.tag'
require './tags/home-timeline.tag'
require './tags/timeline.tag'
require './tags/timeline-post.tag'
require './tags/timeline-post-sub.tag'
require './tags/post-preview.tag'
require './tags/sub-post-content.tag'
require './tags/images-viewer.tag'
require './tags/drive.tag'
require './tags/drive-selector.tag'
require './tags/drive/file.tag'
require './tags/drive/folder.tag'
require './tags/drive/file-viewer.tag'
require './tags/post-form.tag'
require './tags/notification.tag'
require './tags/notifications.tag'
require './tags/notify.tag'
require './tags/notification-preview.tag'
require './tags/search.tag'
require './tags/search-posts.tag'
require './tags/post-detail.tag'
require './tags/user.tag'
require './tags/user-timeline.tag'
require './tags/follow-button.tag'
require './tags/user-preview.tag'
require './tags/users-list.tag'
require './tags/user-following.tag'
require './tags/user-followers.tag'

View file

@ -0,0 +1,48 @@
require './ui.tag'
require './ui-header.tag'
require './ui-nav.tag'
require './stream-indicator.tag'
require './page/entrance.tag'
require './page/entrance/signin.tag'
require './page/entrance/signup.tag'
require './page/home.tag'
require './page/drive.tag'
require './page/notifications.tag'
require './page/user.tag'
require './page/user-followers.tag'
require './page/user-following.tag'
require './page/post.tag'
require './page/new-post.tag'
require './page/search.tag'
require './page/settings.tag'
require './page/settings/signin.tag'
require './page/settings/api.tag'
require './page/settings/twitter.tag'
require './home.tag'
require './home-timeline.tag'
require './timeline.tag'
require './timeline-post.tag'
require './timeline-post-sub.tag'
require './post-preview.tag'
require './sub-post-content.tag'
require './images-viewer.tag'
require './drive.tag'
require './drive-selector.tag'
require './drive/file.tag'
require './drive/folder.tag'
require './drive/file-viewer.tag'
require './post-form.tag'
require './notification.tag'
require './notifications.tag'
require './notify.tag'
require './notification-preview.tag'
require './search.tag'
require './search-posts.tag'
require './post-detail.tag'
require './user.tag'
require './user-timeline.tag'
require './follow-button.tag'
require './user-preview.tag'
require './users-list.tag'
require './user-following.tag'
require './user-followers.tag'