mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 18:43:08 +02:00
[Client] Refactor: Use JavaScript instead of LiveScript
This commit is contained in:
parent
5a18d4bc80
commit
4a7072d9a9
15 changed files with 179 additions and 179 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
const riot = require('riot');
|
||||
document.title = 'Misskey | アプリの連携';
|
||||
require('./tags/index.ls');
|
||||
require('./tags');
|
||||
const boot = require('../boot.js');
|
||||
|
||||
/**
|
||||
|
|
2
src/web/app/auth/tags/index.js
Normal file
2
src/web/app/auth/tags/index.js
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('./index.tag');
|
||||
require('./form.tag');
|
|
@ -1,2 +0,0 @@
|
|||
require './index.tag'
|
||||
require './form.tag'
|
|
@ -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/index.ls');
|
||||
require('./common/tags');
|
||||
|
||||
/**
|
||||
* MISSKEY ENTORY POINT!
|
||||
|
|
19
src/web/app/common/tags/index.js
Normal file
19
src/web/app/common/tags/index.js
Normal 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');
|
|
@ -1,19 +0,0 @@
|
|||
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'
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
|
||||
require('chart.js');
|
||||
require('./tags/index.ls');
|
||||
require('./tags');
|
||||
const riot = require('riot');
|
||||
const boot = require('../boot.js');
|
||||
const mixins = require('./mixins.ls');
|
||||
|
|
100
src/web/app/desktop/tags/index.js
Normal file
100
src/web/app/desktop/tags/index.js
Normal 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');
|
|
@ -1,100 +0,0 @@
|
|||
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'
|
|
@ -2,7 +2,7 @@
|
|||
* Developer Center
|
||||
*/
|
||||
|
||||
require('./tags/index.ls');
|
||||
require('./tags');
|
||||
const boot = require('../boot.js');
|
||||
const route = require('./router.ls');
|
||||
|
||||
|
|
5
src/web/app/dev/tags/index.js
Normal file
5
src/web/app/dev/tags/index.js
Normal 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');
|
|
@ -1,5 +0,0 @@
|
|||
require './pages/index.tag'
|
||||
require './pages/apps.tag'
|
||||
require './pages/app.tag'
|
||||
require './pages/new-app.tag'
|
||||
require './new-app-form.tag'
|
|
@ -2,7 +2,7 @@
|
|||
* Mobile Client
|
||||
*/
|
||||
|
||||
require('./tags/index.ls');
|
||||
require('./tags');
|
||||
const boot = require('../boot.js');
|
||||
const mixins = require('./mixins.ls');
|
||||
const route = require('./router.ls');
|
||||
|
|
48
src/web/app/mobile/tags/index.js
Normal file
48
src/web/app/mobile/tags/index.js
Normal 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');
|
|
@ -1,48 +0,0 @@
|
|||
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'
|
Loading…
Reference in a new issue