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';
|
||||
|
||||
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";
|
||||
|
||||
var extend, notificationType, app, Model, Discussion, DiscussionStickiedPost, addStickyBadge, addStickyControl, addStickyExcerpt;
|
||||
var app, Model, Discussion, DiscussionStickiedPost, addStickyBadge, addStickyControl, addStickyExcerpt;
|
||||
return {
|
||||
setters: [function (_flarumExtend) {
|
||||
extend = _flarumExtend.extend;
|
||||
notificationType = _flarumExtend.notificationType;
|
||||
}, function (_flarumApp) {
|
||||
setters: [function (_flarumApp) {
|
||||
app = _flarumApp.default;
|
||||
}, function (_flarumModel) {
|
||||
Model = _flarumModel.default;
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { extend, notificationType } from 'flarum/extend';
|
||||
import app from 'flarum/app';
|
||||
import Model from 'flarum/Model';
|
||||
import Discussion from 'flarum/models/Discussion';
|
||||
|
@ -17,4 +16,4 @@ app.initializers.add('flarum-sticky', () => {
|
|||
addStickyBadge();
|
||||
addStickyControl();
|
||||
addStickyExcerpt();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user