Akron | 479994e | 2018-07-02 13:21:44 +0200 | [diff] [blame] | 1 | requirejs.config({ |
| 2 | baseUrl: '/js/src', |
| 3 | paths : { |
| 4 | 'lib': '../lib' |
| 5 | } |
| 6 | }); |
| 7 | |
hebasta | e094dc6 | 2019-12-06 13:12:40 +0100 | [diff] [blame] | 8 | |
Akron | 24f48ea | 2020-07-01 09:37:19 +0200 | [diff] [blame^] | 9 | KorAP.Plugins = [{ |
| 10 | 'name' : 'Export', |
| 11 | 'desc' : 'Exports Kalamar results', |
| 12 | // 'about' : 'https://localhost:5678/', |
| 13 | 'embed' : [{ |
| 14 | 'panel' : 'result', |
| 15 | 'title' : 'Export', |
| 16 | 'classes' : ['export'], |
| 17 | 'onClick' : { |
| 18 | 'action' : 'addWidget', |
| 19 | 'template' : 'http://localhost:3003/demo/plugin-client.html', |
| 20 | } |
| 21 | },{ |
| 22 | 'panel' : 'result', |
| 23 | 'title' : 'Glemm', |
| 24 | 'onClick' : { |
| 25 | 'action' : 'toggle', |
| 26 | 'state' : 'glemm', |
| 27 | 'template' : 'http://localhost:3003/demo/plugin-client.html', |
| 28 | } |
| 29 | }] |
| 30 | },{ |
| 31 | 'name' : 'Example New', |
| 32 | 'desc' : 'Some content about cats', |
| 33 | // 'about' : 'https://localhost:5678/', |
| 34 | 'embed' : [{ |
| 35 | 'panel' : 'match', |
| 36 | 'title' : 'Translate', |
| 37 | 'classes' : ['translate'], |
| 38 | 'onClick' : { |
| 39 | 'action' : 'addWidget', |
| 40 | 'template' : 'http://localhost:3003/demo/plugin-client.html', |
| 41 | } |
| 42 | }] |
| 43 | }]; |
hebasta | e094dc6 | 2019-12-06 13:12:40 +0100 | [diff] [blame] | 44 | |
| 45 | |
Akron | 24f48ea | 2020-07-01 09:37:19 +0200 | [diff] [blame^] | 46 | require(['app/en','init']); |