1
0
Fork 0

🚧 Support for rendering text on paths

This commit is contained in:
Joost De Cock 2018-07-21 18:53:03 +02:00
parent ffff09904a
commit 1811e736c0
4 changed files with 46 additions and 7 deletions

View file

@ -95,7 +95,6 @@ export class Pattern {
loadPluginHooks(plugin: () => void): void {
for(let hook of this.hooks.all) {
if(typeof plugin.hooks[hook] === 'function') {
console.log('checking for hook '+hook+' in:', plugin);
this.on(hook, plugin.hooks[hook]);
}
}
@ -103,7 +102,6 @@ export class Pattern {
loadPluginMacros(plugin: () => void): void {
for(let macro in plugin.macros) {
console.log('checking for macro '+macro+' in:', plugin);
if(typeof plugin.macros[macro] === 'function') {
this.macro(macro, plugin.macros[macro]);
}