Created
April 2, 2019 13:42
-
-
Save Aleksandyr/ae9df15cd646f65a55a714d65caec54e to your computer and use it in GitHub Desktop.
Revisions
-
Aleksandyr revised this gist
Apr 2, 2019 . 1 changed file with 8 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,15 +7,14 @@ module.exports = (PluginHost: Application) => { */ app.options.addComponent('options-component', OptComponent); /** * Register component responsible for the convertion. */ app.converter.addComponent('convert-component', ConvertComponent); /** * Register component responsible for the Renderer. */ app.renderer.addComponent('render-component', RenderComponenet); ... } -
Aleksandyr created this gist
Apr 2, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ module.exports = (PluginHost: Application) => { const app = PluginHost.owner; /** * Add Options register Component. */ app.options.addComponent('options-component', OptComponent); /** * Register component responsible for the convertion. */ app.converter.addComponent('convert-component', ConvertComponent); /** * Register component responsible for the Renderer. */ app.renderer.addComponent('render-component', RenderComponenet); } ... }