mirror of
https://github.com/flarum/framework.git
synced 2024-11-26 02:10:09 +08:00
Remove unused imports
This commit is contained in:
parent
5a9711fac9
commit
86cc5fe9c8
9
extensions/sticky/js/forum/dist/extension.js
vendored
9
extensions/sticky/js/forum/dist/extension.js
vendored
|
@ -156,15 +156,12 @@ System.register('flarum/sticky/components/DiscussionStickiedPost', ['flarum/comp
|
||||||
});;
|
});;
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
System.register('flarum/sticky/main', ['flarum/extend', 'flarum/app', 'flarum/Model', 'flarum/models/Discussion', 'flarum/sticky/components/DiscussionStickiedPost', 'flarum/sticky/addStickyBadge', 'flarum/sticky/addStickyControl', 'flarum/sticky/addStickyExcerpt'], function (_export, _context) {
|
System.register('flarum/sticky/main', ['flarum/app', 'flarum/Model', 'flarum/models/Discussion', 'flarum/sticky/components/DiscussionStickiedPost', 'flarum/sticky/addStickyBadge', 'flarum/sticky/addStickyControl', 'flarum/sticky/addStickyExcerpt'], function (_export, _context) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var extend, notificationType, app, Model, Discussion, DiscussionStickiedPost, addStickyBadge, addStickyControl, addStickyExcerpt;
|
var app, Model, Discussion, DiscussionStickiedPost, addStickyBadge, addStickyControl, addStickyExcerpt;
|
||||||
return {
|
return {
|
||||||
setters: [function (_flarumExtend) {
|
setters: [function (_flarumApp) {
|
||||||
extend = _flarumExtend.extend;
|
|
||||||
notificationType = _flarumExtend.notificationType;
|
|
||||||
}, function (_flarumApp) {
|
|
||||||
app = _flarumApp.default;
|
app = _flarumApp.default;
|
||||||
}, function (_flarumModel) {
|
}, function (_flarumModel) {
|
||||||
Model = _flarumModel.default;
|
Model = _flarumModel.default;
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
import { extend, notificationType } from 'flarum/extend';
|
|
||||||
import app from 'flarum/app';
|
import app from 'flarum/app';
|
||||||
import Model from 'flarum/Model';
|
import Model from 'flarum/Model';
|
||||||
import Discussion from 'flarum/models/Discussion';
|
import Discussion from 'flarum/models/Discussion';
|
||||||
|
@ -17,4 +16,4 @@ app.initializers.add('flarum-sticky', () => {
|
||||||
addStickyBadge();
|
addStickyBadge();
|
||||||
addStickyControl();
|
addStickyControl();
|
||||||
addStickyExcerpt();
|
addStickyExcerpt();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user