|
|
@ -35,11 +35,7 @@ export class RemixAppManager extends PluginManager { |
|
|
|
return true |
|
|
|
return true |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
|
|
onPluginActivated (plugin) { |
|
|
|
onPluginActivated (plugin) { |
|
|
|
======= |
|
|
|
|
|
|
|
onActivated (plugin) { |
|
|
|
|
|
|
|
>>>>>>> ac82ba81... using new engine |
|
|
|
|
|
|
|
this.pluginLoader.set(plugin, this.actives) |
|
|
|
this.pluginLoader.set(plugin, this.actives) |
|
|
|
this.event.emit('activate', plugin) |
|
|
|
this.event.emit('activate', plugin) |
|
|
|
} |
|
|
|
} |
|
|
@ -63,7 +59,6 @@ export class RemixAppManager extends PluginManager { |
|
|
|
this.event.emit('added', plugin.name) |
|
|
|
this.event.emit('added', plugin.name) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
|
|
async ensureActivated (apiName) { |
|
|
|
async ensureActivated (apiName) { |
|
|
|
await this.activatePlugin(apiName) |
|
|
|
await this.activatePlugin(apiName) |
|
|
|
this.event.emit('ensureActivated', apiName) |
|
|
|
this.event.emit('ensureActivated', apiName) |
|
|
@ -74,8 +69,6 @@ export class RemixAppManager extends PluginManager { |
|
|
|
this.event.emit('ensureDeactivated', apiName) |
|
|
|
this.event.emit('ensureDeactivated', apiName) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
======= |
|
|
|
|
|
|
|
>>>>>>> ac82ba81... using new engine |
|
|
|
|
|
|
|
deactivatePlugin (name) { |
|
|
|
deactivatePlugin (name) { |
|
|
|
if (requiredModules.includes(name)) return |
|
|
|
if (requiredModules.includes(name)) return |
|
|
|
super.deactivatePlugin(name) |
|
|
|
super.deactivatePlugin(name) |
|
|
|