This commit is contained in:
Jiiks 2018-01-16 08:03:02 +02:00
parent 48dbbb1ea3
commit 9c488f996f
1 changed files with 6 additions and 7 deletions

View File

@ -13,17 +13,16 @@ const { FileUtils } = require('./utils');
const { Global } = require('./global');
const path = window.require('path');
class Plugin {
constructor(plugingInternals) {
this.__plugingInternals = plugingInternals;
constructor(pluginInternals) {
this.__pluginInternals = pluginInternals;
}
get configs() { return this.__plugingInternals.configs }
get info() { return this.__plugingInternals.info }
get paths() { return this.__plugingInternals.paths }
get main() { return this.__plugingInternals.main }
get configs() { return this.__pluginInternals.configs }
get info() { return this.__pluginInternals.info }
get paths() { return this.__pluginInternals.paths }
get main() { return this.__pluginInternals.main }
get defaultConfig() { return this.configs.defaultConfig }
get userConfig() { return this.configs.userConfig }
get name() { return this.info.name }