mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 16:24:27 +08:00
Add vendor prefix to admin JS too
This commit is contained in:
parent
d6b829414c
commit
4b923722be
2
extensions/tags/js/admin/dist/extension.js
vendored
2
extensions/tags/js/admin/dist/extension.js
vendored
File diff suppressed because one or more lines are too long
@ -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()};
|
||||
|
@ -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 => {
|
||||
|
@ -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
|
||||
|
@ -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 (
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user