| 'desc' : 'Exports Kalamar results', |
| // 'about' : 'https://localhost:5678/', |
| 'classes' : [ 'button-icon', 'plugin', 'export' ], |
| 'template' : 'http://localhost:3003/demo/plugin-client.html', |
| 'template' : 'http://localhost:3003/demo/plugin-client.html', |
| 'desc' : 'Some content about cats', |
| // 'about' : 'https://localhost:5678/', |
| 'classes' : ['translate'], |
| 'template' : 'http://localhost:3003/demo/plugin-client.html', |
| define(['plugin/server', 'lib/domReady', 'app/en', 'init'], function(pluginClass, domReady) { |
| domReady(function (event) { |
| if (KorAP.Plugin === undefined) { |
| // Load Plugin Server first |
| KorAP.Plugin = pluginClass.create(); |
| // Add services container to head |
| document.head.appendChild(KorAP.Plugin.element()); |
| KorAP.Plugins.forEach(i => KorAP.Plugin.register(i)); |