blob: 563f3027ca0cb56502942ffaeda3f30b8234e985 [file] [log] [blame]
Akron479994e2018-07-02 13:21:44 +02001requirejs.config({
2 baseUrl: '/js/src',
3 paths : {
4 'lib': '../lib'
5 }
6});
7
8define(['app/en','plugin/server','lib/domReady','init','hint/foundries/cnx'], function (lang, pluginClass, domReady) {
9 domReady(function () {
Akron479994e2018-07-02 13:21:44 +020010 var p = pluginClass.create();
11
12 // Open widget!
Akrona6c32b92018-07-02 18:39:42 +020013 p.addWidget(
14 document.getElementById('container'),
15 'http://localhost:3003/demo/plugin-client.html'
16 );
Akron479994e2018-07-02 13:21:44 +020017 });
18});