mirror of
https://github.com/flarum/framework.git
synced 2025-05-24 07:39:56 +08:00
Rename JS sub-components so that descriptors are before the noun, not after
To be consistent with the naming in PHP world. e.g. ReplyComposer instead of ComposerReply
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
import Post from 'flarum/models/post';
|
||||
import DiscussionPage from 'flarum/components/discussion-page';
|
||||
import ComposerEdit from 'flarum/components/composer-edit';
|
||||
import EditComposer from 'flarum/components/edit-composer';
|
||||
import ActionButton from 'flarum/components/action-button';
|
||||
import Separator from 'flarum/components/separator';
|
||||
import ItemList from 'flarum/utils/item-list';
|
||||
|
||||
export default function(app) {
|
||||
function editAction() {
|
||||
app.composer.load(new ComposerEdit({ post: this }));
|
||||
app.composer.load(new EditComposer({ post: this }));
|
||||
app.composer.show();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user