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:
Toby Zerner
2015-05-18 18:50:24 +09:30
parent 8e24e7197e
commit 9135749bb4
17 changed files with 40 additions and 78 deletions

View File

@ -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();
}