blob: d606cff8c7b2d491b92b22eb2ce8f9185e98442a [file] [log] [blame]
Akron479994e2018-07-02 13:21:44 +02001requirejs.config({
2 baseUrl: '/js/src',
3 paths : {
4 'lib': '../lib'
5 }
6});
7
hebastae094dc62019-12-06 13:12:40 +01008
Akron24f48ea2020-07-01 09:37:19 +02009KorAP.Plugins = [{
10 'name' : 'Export',
11 'desc' : 'Exports Kalamar results',
12 // 'about' : 'https://localhost:5678/',
13 'embed' : [{
14 'panel' : 'result',
15 'title' : 'Export',
hebasta40a85cf2020-07-15 18:10:08 +020016 'icon' : "\uf019",
17 'classes' : [ 'button-icon', 'plugin', 'export' ],
Akron24f48ea2020-07-01 09:37:19 +020018 'onClick' : {
19 'action' : 'addWidget',
20 'template' : 'http://localhost:3003/demo/plugin-client.html',
21 }
22 },{
23 'panel' : 'result',
24 'title' : 'Glemm',
25 'onClick' : {
26 'action' : 'toggle',
27 'state' : 'glemm',
28 'template' : 'http://localhost:3003/demo/plugin-client.html',
29 }
30 }]
31},{
32 'name' : 'Example New',
33 'desc' : 'Some content about cats',
34 // 'about' : 'https://localhost:5678/',
35 'embed' : [{
36 'panel' : 'match',
37 'title' : 'Translate',
38 'classes' : ['translate'],
39 'onClick' : {
40 'action' : 'addWidget',
41 'template' : 'http://localhost:3003/demo/plugin-client.html',
42 }
43 }]
44}];
hebastae094dc62019-12-06 13:12:40 +010045
46
Akron24f48ea2020-07-01 09:37:19 +020047require(['app/en','init']);