Akron | f5dc510 | 2017-05-16 20:32:57 +0200 | [diff] [blame^] | 1 | requirejs.config({ |
2 | baseUrl: '../js/src' | ||||
3 | }); | ||||
4 | |||||
5 | require(['match/relations'], function (relClass) { | ||||
6 | var rel = relClass.create(); | ||||
7 | document.getElementById("tree").appendChild(rel.element()); | ||||
8 | rel.show(); | ||||
9 | }); |