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 | |||||
8 | define(['app/en','plugin/server','lib/domReady','init','hint/foundries/cnx'], function (lang, pluginClass, domReady) { | ||||
9 | domReady(function () { | ||||
10 | console.log("Los geht's"); | ||||
11 | var p = pluginClass.create(); | ||||
12 | |||||
13 | // Open widget! | ||||
14 | p.addWidget(document.getElementById('container'), 'http://localhost:3003/demo/plugin-client.html'); | ||||
15 | }); | ||||
16 | }); |