Remove unused mixin imports

This commit is contained in:
Franz Liedke 2016-03-29 22:32:15 +09:00
parent adcda98f30
commit edc15d3163
8 changed files with 24 additions and 54 deletions

View File

@ -21239,13 +21239,11 @@ System.register('flarum/Model', [], function (_export, _context) {
});;
'use strict';
System.register('flarum/models/Discussion', ['flarum/Model', 'flarum/utils/mixin', 'flarum/utils/computed', 'flarum/utils/ItemList', 'flarum/components/Badge'], function (_export, _context) {
var Model, mixin, computed, ItemList, Badge, Discussion;
System.register('flarum/models/Discussion', ['flarum/Model', 'flarum/utils/computed', 'flarum/utils/ItemList', 'flarum/components/Badge'], function (_export, _context) {
var Model, computed, ItemList, Badge, Discussion;
return {
setters: [function (_flarumModel) {
Model = _flarumModel.default;
}, function (_flarumUtilsMixin) {
mixin = _flarumUtilsMixin.default;
}, function (_flarumUtilsComputed) {
computed = _flarumUtilsComputed.default;
}, function (_flarumUtilsItemList) {
@ -21353,13 +21351,11 @@ System.register('flarum/models/Discussion', ['flarum/Model', 'flarum/utils/mixin
});;
'use strict';
System.register('flarum/models/Forum', ['flarum/Model', 'flarum/utils/mixin'], function (_export, _context) {
var Model, mixin, Forum;
System.register('flarum/models/Forum', ['flarum/Model'], function (_export, _context) {
var Model, Forum;
return {
setters: [function (_flarumModel) {
Model = _flarumModel.default;
}, function (_flarumUtilsMixin) {
mixin = _flarumUtilsMixin.default;
}],
execute: function () {
Forum = function (_Model) {
@ -21385,13 +21381,11 @@ System.register('flarum/models/Forum', ['flarum/Model', 'flarum/utils/mixin'], f
});;
'use strict';
System.register('flarum/models/Group', ['flarum/Model', 'flarum/utils/mixin'], function (_export, _context) {
var Model, mixin, Group;
System.register('flarum/models/Group', ['flarum/Model'], function (_export, _context) {
var Model, Group;
return {
setters: [function (_flarumModel) {
Model = _flarumModel.default;
}, function (_flarumUtilsMixin) {
mixin = _flarumUtilsMixin.default;
}],
execute: function () {
Group = function (_Model) {
@ -21422,13 +21416,11 @@ System.register('flarum/models/Group', ['flarum/Model', 'flarum/utils/mixin'], f
});;
'use strict';
System.register('flarum/models/Notification', ['flarum/Model', 'flarum/utils/mixin', 'flarum/utils/computed'], function (_export, _context) {
var Model, mixin, computed, Notification;
System.register('flarum/models/Notification', ['flarum/Model', 'flarum/utils/computed'], function (_export, _context) {
var Model, computed, Notification;
return {
setters: [function (_flarumModel) {
Model = _flarumModel.default;
}, function (_flarumUtilsMixin) {
mixin = _flarumUtilsMixin.default;
}, function (_flarumUtilsComputed) {
computed = _flarumUtilsComputed.default;
}],
@ -21469,13 +21461,11 @@ System.register('flarum/models/Notification', ['flarum/Model', 'flarum/utils/mix
});;
'use strict';
System.register('flarum/models/Post', ['flarum/Model', 'flarum/utils/mixin', 'flarum/utils/computed', 'flarum/utils/string'], function (_export, _context) {
var Model, mixin, computed, getPlainContent, Post;
System.register('flarum/models/Post', ['flarum/Model', 'flarum/utils/computed', 'flarum/utils/string'], function (_export, _context) {
var Model, computed, getPlainContent, Post;
return {
setters: [function (_flarumModel) {
Model = _flarumModel.default;
}, function (_flarumUtilsMixin) {
mixin = _flarumUtilsMixin.default;
}, function (_flarumUtilsComputed) {
computed = _flarumUtilsComputed.default;
}, function (_flarumUtilsString) {
@ -21528,13 +21518,11 @@ System.register('flarum/models/Post', ['flarum/Model', 'flarum/utils/mixin', 'fl
});;
'use strict';
System.register('flarum/models/User', ['flarum/Model', 'flarum/utils/mixin', 'flarum/utils/stringToColor', 'flarum/utils/ItemList', 'flarum/utils/computed', 'flarum/components/GroupBadge'], function (_export, _context) {
var Model, mixin, stringToColor, ItemList, computed, GroupBadge, User;
System.register('flarum/models/User', ['flarum/Model', 'flarum/utils/stringToColor', 'flarum/utils/ItemList', 'flarum/utils/computed', 'flarum/components/GroupBadge'], function (_export, _context) {
var Model, stringToColor, ItemList, computed, GroupBadge, User;
return {
setters: [function (_flarumModel) {
Model = _flarumModel.default;
}, function (_flarumUtilsMixin) {
mixin = _flarumUtilsMixin.default;
}, function (_flarumUtilsStringToColor) {
stringToColor = _flarumUtilsStringToColor.default;
}, function (_flarumUtilsItemList) {

View File

@ -29019,13 +29019,11 @@ System.register('flarum/Model', [], function (_export, _context) {
});;
'use strict';
System.register('flarum/models/Discussion', ['flarum/Model', 'flarum/utils/mixin', 'flarum/utils/computed', 'flarum/utils/ItemList', 'flarum/components/Badge'], function (_export, _context) {
var Model, mixin, computed, ItemList, Badge, Discussion;
System.register('flarum/models/Discussion', ['flarum/Model', 'flarum/utils/computed', 'flarum/utils/ItemList', 'flarum/components/Badge'], function (_export, _context) {
var Model, computed, ItemList, Badge, Discussion;
return {
setters: [function (_flarumModel) {
Model = _flarumModel.default;
}, function (_flarumUtilsMixin) {
mixin = _flarumUtilsMixin.default;
}, function (_flarumUtilsComputed) {
computed = _flarumUtilsComputed.default;
}, function (_flarumUtilsItemList) {
@ -29133,13 +29131,11 @@ System.register('flarum/models/Discussion', ['flarum/Model', 'flarum/utils/mixin
});;
'use strict';
System.register('flarum/models/Forum', ['flarum/Model', 'flarum/utils/mixin'], function (_export, _context) {
var Model, mixin, Forum;
System.register('flarum/models/Forum', ['flarum/Model'], function (_export, _context) {
var Model, Forum;
return {
setters: [function (_flarumModel) {
Model = _flarumModel.default;
}, function (_flarumUtilsMixin) {
mixin = _flarumUtilsMixin.default;
}],
execute: function () {
Forum = function (_Model) {
@ -29165,13 +29161,11 @@ System.register('flarum/models/Forum', ['flarum/Model', 'flarum/utils/mixin'], f
});;
'use strict';
System.register('flarum/models/Group', ['flarum/Model', 'flarum/utils/mixin'], function (_export, _context) {
var Model, mixin, Group;
System.register('flarum/models/Group', ['flarum/Model'], function (_export, _context) {
var Model, Group;
return {
setters: [function (_flarumModel) {
Model = _flarumModel.default;
}, function (_flarumUtilsMixin) {
mixin = _flarumUtilsMixin.default;
}],
execute: function () {
Group = function (_Model) {
@ -29202,13 +29196,11 @@ System.register('flarum/models/Group', ['flarum/Model', 'flarum/utils/mixin'], f
});;
'use strict';
System.register('flarum/models/Notification', ['flarum/Model', 'flarum/utils/mixin', 'flarum/utils/computed'], function (_export, _context) {
var Model, mixin, computed, Notification;
System.register('flarum/models/Notification', ['flarum/Model', 'flarum/utils/computed'], function (_export, _context) {
var Model, computed, Notification;
return {
setters: [function (_flarumModel) {
Model = _flarumModel.default;
}, function (_flarumUtilsMixin) {
mixin = _flarumUtilsMixin.default;
}, function (_flarumUtilsComputed) {
computed = _flarumUtilsComputed.default;
}],
@ -29249,13 +29241,11 @@ System.register('flarum/models/Notification', ['flarum/Model', 'flarum/utils/mix
});;
'use strict';
System.register('flarum/models/Post', ['flarum/Model', 'flarum/utils/mixin', 'flarum/utils/computed', 'flarum/utils/string'], function (_export, _context) {
var Model, mixin, computed, getPlainContent, Post;
System.register('flarum/models/Post', ['flarum/Model', 'flarum/utils/computed', 'flarum/utils/string'], function (_export, _context) {
var Model, computed, getPlainContent, Post;
return {
setters: [function (_flarumModel) {
Model = _flarumModel.default;
}, function (_flarumUtilsMixin) {
mixin = _flarumUtilsMixin.default;
}, function (_flarumUtilsComputed) {
computed = _flarumUtilsComputed.default;
}, function (_flarumUtilsString) {
@ -29308,13 +29298,11 @@ System.register('flarum/models/Post', ['flarum/Model', 'flarum/utils/mixin', 'fl
});;
'use strict';
System.register('flarum/models/User', ['flarum/Model', 'flarum/utils/mixin', 'flarum/utils/stringToColor', 'flarum/utils/ItemList', 'flarum/utils/computed', 'flarum/components/GroupBadge'], function (_export, _context) {
var Model, mixin, stringToColor, ItemList, computed, GroupBadge, User;
System.register('flarum/models/User', ['flarum/Model', 'flarum/utils/stringToColor', 'flarum/utils/ItemList', 'flarum/utils/computed', 'flarum/components/GroupBadge'], function (_export, _context) {
var Model, stringToColor, ItemList, computed, GroupBadge, User;
return {
setters: [function (_flarumModel) {
Model = _flarumModel.default;
}, function (_flarumUtilsMixin) {
mixin = _flarumUtilsMixin.default;
}, function (_flarumUtilsStringToColor) {
stringToColor = _flarumUtilsStringToColor.default;
}, function (_flarumUtilsItemList) {

View File

@ -1,5 +1,4 @@
import Model from 'flarum/Model';
import mixin from 'flarum/utils/mixin';
import computed from 'flarum/utils/computed';
import ItemList from 'flarum/utils/ItemList';
import Badge from 'flarum/components/Badge';

View File

@ -1,5 +1,4 @@
import Model from 'flarum/Model';
import mixin from 'flarum/utils/mixin';
export default class Forum extends Model {
apiEndpoint() {

View File

@ -1,5 +1,4 @@
import Model from 'flarum/Model';
import mixin from 'flarum/utils/mixin';
class Group extends Model {}

View File

@ -1,5 +1,4 @@
import Model from 'flarum/Model';
import mixin from 'flarum/utils/mixin';
import computed from 'flarum/utils/computed';
export default class Notification extends Model {}

View File

@ -1,5 +1,4 @@
import Model from 'flarum/Model';
import mixin from 'flarum/utils/mixin';
import computed from 'flarum/utils/computed';
import { getPlainContent } from 'flarum/utils/string';

View File

@ -1,7 +1,6 @@
/*global ColorThief*/
import Model from 'flarum/Model';
import mixin from 'flarum/utils/mixin';
import stringToColor from 'flarum/utils/stringToColor';
import ItemList from 'flarum/utils/ItemList';
import computed from 'flarum/utils/computed';