diff --git a/src/extensions/extension.js b/src/extensions/extension.js index 744fc9e..6b33d30 100644 --- a/src/extensions/extension.js +++ b/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} + */ + 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(); + } + } } }