|
7 | 7 |
|
8 | 8 | #include "qjs_window.h"
|
9 | 9 | #include "qjs_module_manager.h"
|
10 |
| - |
11 |
| -//#include "bindings/qjs/bom/blob.h" |
12 |
| -//#include "bindings/qjs/bom/console.h" |
13 |
| -//#include "bindings/qjs/bom/location.h" |
14 |
| -//#include "bindings/qjs/bom/performance.h" |
15 |
| -//#include "bindings/qjs/bom/screen.h" |
16 |
| -//#include "bindings/qjs/bom/timer.h" |
17 |
| -//#include "bindings/qjs/bom/window.h" |
18 |
| -//#include "bindings/qjs/dom/comment_node.h" |
19 |
| -//#include "bindings/qjs/dom/custom_event.h" |
20 |
| -//#include "bindings/qjs/dom/document.h" |
21 |
| -//#include "bindings/qjs/dom/document_fragment.h" |
22 |
| -//#include "bindings/qjs/dom/element.h" |
23 |
| -//#include "bindings/qjs/dom/elements/.gen/anchor_element.h" |
24 |
| -//#include "bindings/qjs/dom/elements/.gen/canvas_element.h" |
25 |
| -//#include "bindings/qjs/dom/elements/.gen/input_element.h" |
26 |
| -//#include "bindings/qjs/dom/elements/.gen/object_element.h" |
27 |
| -//#include "bindings/qjs/dom/elements/.gen/script_element.h" |
28 |
| -//#include "bindings/qjs/dom/elements/image_element.h" |
29 |
| -//#include "bindings/qjs/dom/elements/template_element.h" |
30 |
| -//#include "bindings/qjs/dom/event.h" |
31 |
| -//#include "bindings/qjs/dom/event_target.h" |
32 |
| -//#include "bindings/qjs/dom/events/.gen/close_event.h" |
33 |
| -//#include "bindings/qjs/dom/events/.gen/gesture_event.h" |
34 |
| -//#include "bindings/qjs/dom/events/.gen/input_event.h" |
35 |
| -//#include "bindings/qjs/dom/events/.gen/intersection_change.h" |
36 |
| -//#include "bindings/qjs/dom/events/.gen/media_error_event.h" |
37 |
| -//#include "bindings/qjs/dom/events/.gen/message_event.h" |
38 |
| -//#include "bindings/qjs/dom/events/.gen/mouse_event.h" |
39 |
| -//#include "bindings/qjs/dom/events/.gen/popstate_event.h" |
40 |
| -//#include "bindings/qjs/dom/events/touch_event.h" |
41 |
| -//#include "bindings/qjs/dom/style_declaration.h" |
42 |
| -//#include "bindings/qjs/dom/text_node.h" |
43 |
| -//#include "bindings/qjs/module_manager.h" |
| 10 | +#include "qjs_console.h" |
44 | 11 |
|
45 | 12 | namespace kraken {
|
46 | 13 |
|
47 | 14 | void installBindings(JSContext* ctx) {
|
48 | 15 | QJSWindow::installGlobalFunctions(ctx);
|
49 | 16 | QJSModuleManager::installGlobalFunctions(ctx);
|
50 |
| - |
| 17 | + QJSConsole::install(ctx); |
51 | 18 | }
|
52 | 19 |
|
53 | 20 | } // namespace kraken
|
0 commit comments