|
@ -46,6 +46,13 @@ class CompelExtension { |
|
|
*/ |
|
|
*/ |
|
|
helperFun; |
|
|
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 |
|
|
* 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(); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|