mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 23:23:52 +08:00
Remove unused mixin imports
This commit is contained in:
parent
adcda98f30
commit
edc15d3163
36
framework/core/js/admin/dist/app.js
vendored
36
framework/core/js/admin/dist/app.js
vendored
|
@ -21239,13 +21239,11 @@ System.register('flarum/Model', [], function (_export, _context) {
|
||||||
});;
|
});;
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
System.register('flarum/models/Discussion', ['flarum/Model', 'flarum/utils/mixin', 'flarum/utils/computed', 'flarum/utils/ItemList', 'flarum/components/Badge'], function (_export, _context) {
|
System.register('flarum/models/Discussion', ['flarum/Model', 'flarum/utils/computed', 'flarum/utils/ItemList', 'flarum/components/Badge'], function (_export, _context) {
|
||||||
var Model, mixin, computed, ItemList, Badge, Discussion;
|
var Model, computed, ItemList, Badge, Discussion;
|
||||||
return {
|
return {
|
||||||
setters: [function (_flarumModel) {
|
setters: [function (_flarumModel) {
|
||||||
Model = _flarumModel.default;
|
Model = _flarumModel.default;
|
||||||
}, function (_flarumUtilsMixin) {
|
|
||||||
mixin = _flarumUtilsMixin.default;
|
|
||||||
}, function (_flarumUtilsComputed) {
|
}, function (_flarumUtilsComputed) {
|
||||||
computed = _flarumUtilsComputed.default;
|
computed = _flarumUtilsComputed.default;
|
||||||
}, function (_flarumUtilsItemList) {
|
}, function (_flarumUtilsItemList) {
|
||||||
|
@ -21353,13 +21351,11 @@ System.register('flarum/models/Discussion', ['flarum/Model', 'flarum/utils/mixin
|
||||||
});;
|
});;
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
System.register('flarum/models/Forum', ['flarum/Model', 'flarum/utils/mixin'], function (_export, _context) {
|
System.register('flarum/models/Forum', ['flarum/Model'], function (_export, _context) {
|
||||||
var Model, mixin, Forum;
|
var Model, Forum;
|
||||||
return {
|
return {
|
||||||
setters: [function (_flarumModel) {
|
setters: [function (_flarumModel) {
|
||||||
Model = _flarumModel.default;
|
Model = _flarumModel.default;
|
||||||
}, function (_flarumUtilsMixin) {
|
|
||||||
mixin = _flarumUtilsMixin.default;
|
|
||||||
}],
|
}],
|
||||||
execute: function () {
|
execute: function () {
|
||||||
Forum = function (_Model) {
|
Forum = function (_Model) {
|
||||||
|
@ -21385,13 +21381,11 @@ System.register('flarum/models/Forum', ['flarum/Model', 'flarum/utils/mixin'], f
|
||||||
});;
|
});;
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
System.register('flarum/models/Group', ['flarum/Model', 'flarum/utils/mixin'], function (_export, _context) {
|
System.register('flarum/models/Group', ['flarum/Model'], function (_export, _context) {
|
||||||
var Model, mixin, Group;
|
var Model, Group;
|
||||||
return {
|
return {
|
||||||
setters: [function (_flarumModel) {
|
setters: [function (_flarumModel) {
|
||||||
Model = _flarumModel.default;
|
Model = _flarumModel.default;
|
||||||
}, function (_flarumUtilsMixin) {
|
|
||||||
mixin = _flarumUtilsMixin.default;
|
|
||||||
}],
|
}],
|
||||||
execute: function () {
|
execute: function () {
|
||||||
Group = function (_Model) {
|
Group = function (_Model) {
|
||||||
|
@ -21422,13 +21416,11 @@ System.register('flarum/models/Group', ['flarum/Model', 'flarum/utils/mixin'], f
|
||||||
});;
|
});;
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
System.register('flarum/models/Notification', ['flarum/Model', 'flarum/utils/mixin', 'flarum/utils/computed'], function (_export, _context) {
|
System.register('flarum/models/Notification', ['flarum/Model', 'flarum/utils/computed'], function (_export, _context) {
|
||||||
var Model, mixin, computed, Notification;
|
var Model, computed, Notification;
|
||||||
return {
|
return {
|
||||||
setters: [function (_flarumModel) {
|
setters: [function (_flarumModel) {
|
||||||
Model = _flarumModel.default;
|
Model = _flarumModel.default;
|
||||||
}, function (_flarumUtilsMixin) {
|
|
||||||
mixin = _flarumUtilsMixin.default;
|
|
||||||
}, function (_flarumUtilsComputed) {
|
}, function (_flarumUtilsComputed) {
|
||||||
computed = _flarumUtilsComputed.default;
|
computed = _flarumUtilsComputed.default;
|
||||||
}],
|
}],
|
||||||
|
@ -21469,13 +21461,11 @@ System.register('flarum/models/Notification', ['flarum/Model', 'flarum/utils/mix
|
||||||
});;
|
});;
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
System.register('flarum/models/Post', ['flarum/Model', 'flarum/utils/mixin', 'flarum/utils/computed', 'flarum/utils/string'], function (_export, _context) {
|
System.register('flarum/models/Post', ['flarum/Model', 'flarum/utils/computed', 'flarum/utils/string'], function (_export, _context) {
|
||||||
var Model, mixin, computed, getPlainContent, Post;
|
var Model, computed, getPlainContent, Post;
|
||||||
return {
|
return {
|
||||||
setters: [function (_flarumModel) {
|
setters: [function (_flarumModel) {
|
||||||
Model = _flarumModel.default;
|
Model = _flarumModel.default;
|
||||||
}, function (_flarumUtilsMixin) {
|
|
||||||
mixin = _flarumUtilsMixin.default;
|
|
||||||
}, function (_flarumUtilsComputed) {
|
}, function (_flarumUtilsComputed) {
|
||||||
computed = _flarumUtilsComputed.default;
|
computed = _flarumUtilsComputed.default;
|
||||||
}, function (_flarumUtilsString) {
|
}, function (_flarumUtilsString) {
|
||||||
|
@ -21528,13 +21518,11 @@ System.register('flarum/models/Post', ['flarum/Model', 'flarum/utils/mixin', 'fl
|
||||||
});;
|
});;
|
||||||
'use strict';
|
'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) {
|
System.register('flarum/models/User', ['flarum/Model', 'flarum/utils/stringToColor', 'flarum/utils/ItemList', 'flarum/utils/computed', 'flarum/components/GroupBadge'], function (_export, _context) {
|
||||||
var Model, mixin, stringToColor, ItemList, computed, GroupBadge, User;
|
var Model, stringToColor, ItemList, computed, GroupBadge, User;
|
||||||
return {
|
return {
|
||||||
setters: [function (_flarumModel) {
|
setters: [function (_flarumModel) {
|
||||||
Model = _flarumModel.default;
|
Model = _flarumModel.default;
|
||||||
}, function (_flarumUtilsMixin) {
|
|
||||||
mixin = _flarumUtilsMixin.default;
|
|
||||||
}, function (_flarumUtilsStringToColor) {
|
}, function (_flarumUtilsStringToColor) {
|
||||||
stringToColor = _flarumUtilsStringToColor.default;
|
stringToColor = _flarumUtilsStringToColor.default;
|
||||||
}, function (_flarumUtilsItemList) {
|
}, function (_flarumUtilsItemList) {
|
||||||
|
|
36
framework/core/js/forum/dist/app.js
vendored
36
framework/core/js/forum/dist/app.js
vendored
|
@ -29019,13 +29019,11 @@ System.register('flarum/Model', [], function (_export, _context) {
|
||||||
});;
|
});;
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
System.register('flarum/models/Discussion', ['flarum/Model', 'flarum/utils/mixin', 'flarum/utils/computed', 'flarum/utils/ItemList', 'flarum/components/Badge'], function (_export, _context) {
|
System.register('flarum/models/Discussion', ['flarum/Model', 'flarum/utils/computed', 'flarum/utils/ItemList', 'flarum/components/Badge'], function (_export, _context) {
|
||||||
var Model, mixin, computed, ItemList, Badge, Discussion;
|
var Model, computed, ItemList, Badge, Discussion;
|
||||||
return {
|
return {
|
||||||
setters: [function (_flarumModel) {
|
setters: [function (_flarumModel) {
|
||||||
Model = _flarumModel.default;
|
Model = _flarumModel.default;
|
||||||
}, function (_flarumUtilsMixin) {
|
|
||||||
mixin = _flarumUtilsMixin.default;
|
|
||||||
}, function (_flarumUtilsComputed) {
|
}, function (_flarumUtilsComputed) {
|
||||||
computed = _flarumUtilsComputed.default;
|
computed = _flarumUtilsComputed.default;
|
||||||
}, function (_flarumUtilsItemList) {
|
}, function (_flarumUtilsItemList) {
|
||||||
|
@ -29133,13 +29131,11 @@ System.register('flarum/models/Discussion', ['flarum/Model', 'flarum/utils/mixin
|
||||||
});;
|
});;
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
System.register('flarum/models/Forum', ['flarum/Model', 'flarum/utils/mixin'], function (_export, _context) {
|
System.register('flarum/models/Forum', ['flarum/Model'], function (_export, _context) {
|
||||||
var Model, mixin, Forum;
|
var Model, Forum;
|
||||||
return {
|
return {
|
||||||
setters: [function (_flarumModel) {
|
setters: [function (_flarumModel) {
|
||||||
Model = _flarumModel.default;
|
Model = _flarumModel.default;
|
||||||
}, function (_flarumUtilsMixin) {
|
|
||||||
mixin = _flarumUtilsMixin.default;
|
|
||||||
}],
|
}],
|
||||||
execute: function () {
|
execute: function () {
|
||||||
Forum = function (_Model) {
|
Forum = function (_Model) {
|
||||||
|
@ -29165,13 +29161,11 @@ System.register('flarum/models/Forum', ['flarum/Model', 'flarum/utils/mixin'], f
|
||||||
});;
|
});;
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
System.register('flarum/models/Group', ['flarum/Model', 'flarum/utils/mixin'], function (_export, _context) {
|
System.register('flarum/models/Group', ['flarum/Model'], function (_export, _context) {
|
||||||
var Model, mixin, Group;
|
var Model, Group;
|
||||||
return {
|
return {
|
||||||
setters: [function (_flarumModel) {
|
setters: [function (_flarumModel) {
|
||||||
Model = _flarumModel.default;
|
Model = _flarumModel.default;
|
||||||
}, function (_flarumUtilsMixin) {
|
|
||||||
mixin = _flarumUtilsMixin.default;
|
|
||||||
}],
|
}],
|
||||||
execute: function () {
|
execute: function () {
|
||||||
Group = function (_Model) {
|
Group = function (_Model) {
|
||||||
|
@ -29202,13 +29196,11 @@ System.register('flarum/models/Group', ['flarum/Model', 'flarum/utils/mixin'], f
|
||||||
});;
|
});;
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
System.register('flarum/models/Notification', ['flarum/Model', 'flarum/utils/mixin', 'flarum/utils/computed'], function (_export, _context) {
|
System.register('flarum/models/Notification', ['flarum/Model', 'flarum/utils/computed'], function (_export, _context) {
|
||||||
var Model, mixin, computed, Notification;
|
var Model, computed, Notification;
|
||||||
return {
|
return {
|
||||||
setters: [function (_flarumModel) {
|
setters: [function (_flarumModel) {
|
||||||
Model = _flarumModel.default;
|
Model = _flarumModel.default;
|
||||||
}, function (_flarumUtilsMixin) {
|
|
||||||
mixin = _flarumUtilsMixin.default;
|
|
||||||
}, function (_flarumUtilsComputed) {
|
}, function (_flarumUtilsComputed) {
|
||||||
computed = _flarumUtilsComputed.default;
|
computed = _flarumUtilsComputed.default;
|
||||||
}],
|
}],
|
||||||
|
@ -29249,13 +29241,11 @@ System.register('flarum/models/Notification', ['flarum/Model', 'flarum/utils/mix
|
||||||
});;
|
});;
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
System.register('flarum/models/Post', ['flarum/Model', 'flarum/utils/mixin', 'flarum/utils/computed', 'flarum/utils/string'], function (_export, _context) {
|
System.register('flarum/models/Post', ['flarum/Model', 'flarum/utils/computed', 'flarum/utils/string'], function (_export, _context) {
|
||||||
var Model, mixin, computed, getPlainContent, Post;
|
var Model, computed, getPlainContent, Post;
|
||||||
return {
|
return {
|
||||||
setters: [function (_flarumModel) {
|
setters: [function (_flarumModel) {
|
||||||
Model = _flarumModel.default;
|
Model = _flarumModel.default;
|
||||||
}, function (_flarumUtilsMixin) {
|
|
||||||
mixin = _flarumUtilsMixin.default;
|
|
||||||
}, function (_flarumUtilsComputed) {
|
}, function (_flarumUtilsComputed) {
|
||||||
computed = _flarumUtilsComputed.default;
|
computed = _flarumUtilsComputed.default;
|
||||||
}, function (_flarumUtilsString) {
|
}, function (_flarumUtilsString) {
|
||||||
|
@ -29308,13 +29298,11 @@ System.register('flarum/models/Post', ['flarum/Model', 'flarum/utils/mixin', 'fl
|
||||||
});;
|
});;
|
||||||
'use strict';
|
'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) {
|
System.register('flarum/models/User', ['flarum/Model', 'flarum/utils/stringToColor', 'flarum/utils/ItemList', 'flarum/utils/computed', 'flarum/components/GroupBadge'], function (_export, _context) {
|
||||||
var Model, mixin, stringToColor, ItemList, computed, GroupBadge, User;
|
var Model, stringToColor, ItemList, computed, GroupBadge, User;
|
||||||
return {
|
return {
|
||||||
setters: [function (_flarumModel) {
|
setters: [function (_flarumModel) {
|
||||||
Model = _flarumModel.default;
|
Model = _flarumModel.default;
|
||||||
}, function (_flarumUtilsMixin) {
|
|
||||||
mixin = _flarumUtilsMixin.default;
|
|
||||||
}, function (_flarumUtilsStringToColor) {
|
}, function (_flarumUtilsStringToColor) {
|
||||||
stringToColor = _flarumUtilsStringToColor.default;
|
stringToColor = _flarumUtilsStringToColor.default;
|
||||||
}, function (_flarumUtilsItemList) {
|
}, function (_flarumUtilsItemList) {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import Model from 'flarum/Model';
|
import Model from 'flarum/Model';
|
||||||
import mixin from 'flarum/utils/mixin';
|
|
||||||
import computed from 'flarum/utils/computed';
|
import computed from 'flarum/utils/computed';
|
||||||
import ItemList from 'flarum/utils/ItemList';
|
import ItemList from 'flarum/utils/ItemList';
|
||||||
import Badge from 'flarum/components/Badge';
|
import Badge from 'flarum/components/Badge';
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import Model from 'flarum/Model';
|
import Model from 'flarum/Model';
|
||||||
import mixin from 'flarum/utils/mixin';
|
|
||||||
|
|
||||||
export default class Forum extends Model {
|
export default class Forum extends Model {
|
||||||
apiEndpoint() {
|
apiEndpoint() {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import Model from 'flarum/Model';
|
import Model from 'flarum/Model';
|
||||||
import mixin from 'flarum/utils/mixin';
|
|
||||||
|
|
||||||
class Group extends Model {}
|
class Group extends Model {}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import Model from 'flarum/Model';
|
import Model from 'flarum/Model';
|
||||||
import mixin from 'flarum/utils/mixin';
|
|
||||||
import computed from 'flarum/utils/computed';
|
import computed from 'flarum/utils/computed';
|
||||||
|
|
||||||
export default class Notification extends Model {}
|
export default class Notification extends Model {}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import Model from 'flarum/Model';
|
import Model from 'flarum/Model';
|
||||||
import mixin from 'flarum/utils/mixin';
|
|
||||||
import computed from 'flarum/utils/computed';
|
import computed from 'flarum/utils/computed';
|
||||||
import { getPlainContent } from 'flarum/utils/string';
|
import { getPlainContent } from 'flarum/utils/string';
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
/*global ColorThief*/
|
/*global ColorThief*/
|
||||||
|
|
||||||
import Model from 'flarum/Model';
|
import Model from 'flarum/Model';
|
||||||
import mixin from 'flarum/utils/mixin';
|
|
||||||
import stringToColor from 'flarum/utils/stringToColor';
|
import stringToColor from 'flarum/utils/stringToColor';
|
||||||
import ItemList from 'flarum/utils/ItemList';
|
import ItemList from 'flarum/utils/ItemList';
|
||||||
import computed from 'flarum/utils/computed';
|
import computed from 'flarum/utils/computed';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user