mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
DEV: Remove Ember.Mixin to import @ember/object/mixin (#8269)
This commit is contained in:

committed by
Robin Ward

parent
e7eeb7c47f
commit
ba4b557114
@ -1,3 +1,5 @@
|
||||
import Mixin from '@ember/object/mixin';
|
||||
|
||||
let _appendContentCallbacks = {};
|
||||
function appendContent(pluginApiIdentifiers, contentFunction) {
|
||||
if (Ember.isNone(_appendContentCallbacks[pluginApiIdentifiers])) {
|
||||
@ -167,7 +169,7 @@ export function clearCallbacks() {
|
||||
}
|
||||
|
||||
const EMPTY_ARRAY = Object.freeze([]);
|
||||
export default Ember.Mixin.create({
|
||||
export default Mixin.create({
|
||||
concatenatedProperties: ["pluginApiIdentifiers"],
|
||||
pluginApiIdentifiers: EMPTY_ARRAY
|
||||
});
|
||||
|
Reference in New Issue
Block a user