Add vendor prefix to admin JS too

This commit is contained in:
Toby Zerner 2015-10-03 17:35:55 +09:30
parent d6b829414c
commit 4b923722be
6 changed files with 15 additions and 15 deletions

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@ import { extend } from 'flarum/extend';
import AdminNav from 'flarum/components/AdminNav';
import AdminLinkButton from 'flarum/components/AdminLinkButton';
import TagsPage from 'tags/components/TagsPage';
import TagsPage from 'flarum/tags/components/TagsPage';
export default function() {
app.routes.tags = {path: '/tags', component: TagsPage.component()};

View File

@ -4,9 +4,9 @@ import PermissionDropdown from 'flarum/components/PermissionDropdown';
import Dropdown from 'flarum/components/Dropdown';
import Button from 'flarum/components/Button';
import tagLabel from 'tags/helpers/tagLabel';
import tagIcon from 'tags/helpers/tagIcon';
import sortTags from 'tags/utils/sortTags';
import tagLabel from 'flarum/tags/helpers/tagLabel';
import tagIcon from 'flarum/tags/helpers/tagIcon';
import sortTags from 'flarum/tags/utils/sortTags';
export default function() {
extend(PermissionGrid.prototype, 'scopeItems', items => {

View File

@ -2,7 +2,7 @@ import Modal from 'flarum/components/Modal';
import Button from 'flarum/components/Button';
import { slug } from 'flarum/utils/string';
import tagLabel from 'tags/helpers/tagLabel';
import tagLabel from 'flarum/tags/helpers/tagLabel';
/**
* The `EditTagModal` component shows a modal dialog which allows the user

View File

@ -1,10 +1,10 @@
import Component from 'flarum/Component';
import Button from 'flarum/components/Button';
import EditTagModal from 'tags/components/EditTagModal';
import TagSettingsModal from 'tags/components/TagSettingsModal';
import tagIcon from 'tags/helpers/tagIcon';
import sortTags from 'tags/utils/sortTags';
import EditTagModal from 'flarum/tags/components/EditTagModal';
import TagSettingsModal from 'flarum/tags/components/TagSettingsModal';
import tagIcon from 'flarum/tags/helpers/tagIcon';
import sortTags from 'flarum/tags/utils/sortTags';
function tagItem(tag) {
return (

View File

@ -1,8 +1,8 @@
import Tag from 'tags/models/Tag';
import addTagsPermissionScope from 'tags/addTagsPermissionScope';
import addTagPermission from 'tags/addTagPermission';
import addTagsPane from 'tags/addTagsPane';
import addTagsHomePageOption from 'tags/addTagsHomePageOption';
import Tag from 'flarum/tags/models/Tag';
import addTagsPermissionScope from 'flarum/tags/addTagsPermissionScope';
import addTagPermission from 'flarum/tags/addTagPermission';
import addTagsPane from 'flarum/tags/addTagsPane';
import addTagsHomePageOption from 'flarum/tags/addTagsHomePageOption';
app.initializers.add('tags', app => {
app.store.models.tags = Tag;