Browse Source

MINOR,FEAT: extended extension logic

master
chris 3 days ago
parent
commit
ac7bb1e1ff
  1. 12
      src/extensions/extension.js

12
src/extensions/extension.js

@ -46,6 +46,13 @@ class CompelExtension {
*/
helperFun;
/**
* functions that are supposed to be executed after install,
* to extend it that way.
* @type {Array<Function>}
*/
funAfterInstall
/**
* defines how jpc-like-websites is to be extended and executes that extension
*/
@ -68,5 +75,10 @@ class CompelExtension {
}
}
if (this.funAfterInstall) {
for (const fun of this.funAfterInstall) {
fun();
}
}
}
}

Loading…
Cancel
Save