Akron | fbf3a78 | 2017-06-28 17:34:28 +0200 | [diff] [blame] | 1 | requirejs.config({ |
| 2 | baseUrl: '../js/src', |
| 3 | paths : { |
| 4 | 'lib': '../lib' |
| 5 | } |
| 6 | }); |
Akron | e4da7ef | 2017-06-27 19:22:15 +0200 | [diff] [blame] | 7 | |
Akron | fbf3a78 | 2017-06-28 17:34:28 +0200 | [diff] [blame] | 8 | define(['match/querycreator', 'lib/domReady'], function (qc, domReady) { |
| 9 | domReady(function () { |
Akron | e8ea000 | 2017-06-28 18:51:52 +0200 | [diff] [blame] | 10 | qc.create(document.getElementsByClassName('matchinfo')[0]); |
Akron | fbf3a78 | 2017-06-28 17:34:28 +0200 | [diff] [blame] | 11 | }); |
| 12 | }); |