Remove unused imports

This commit is contained in:
Toby Zerner 2017-09-29 12:35:59 +09:30
parent 5a9711fac9
commit 86cc5fe9c8
2 changed files with 4 additions and 8 deletions

View File

@ -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;

View File

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