Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | /** global: webix */ |
||
2 | (function () { |
||
3 | "use strict"; |
||
4 | |||
5 | require.config({ |
||
6 | baseUrl: "/bundles/admin/js/" |
||
7 | }); |
||
8 | |||
9 | require(["admin"], function (dembeloAdmin) { |
||
10 | |||
11 | webix.attachEvent("onBeforeAjax", |
||
12 | function (mode, url, data, request, headers) { |
||
13 | headers["X-Requested-With"] = "XMLHttpRequest"; |
||
14 | } |
||
15 | ); |
||
16 | webix.ui(dembeloAdmin.getUiJson()); |
||
17 | |||
18 | dembeloAdmin.init(); |
||
19 | }); |
||
20 | })(); |