summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/app/index.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/ui/app/index.html b/ui/app/index.html
index d500e369..2cd0bf17 100644
--- a/ui/app/index.html
+++ b/ui/app/index.html
@@ -10,5 +10,15 @@
<body>
<div id="app"></div>
<script src="app.bundle.js"></script>
+ <script src="qrc:///qtwebchannel/qwebchannel.js"></script>
+ <script>
+ function _onload() {
+ window.webChannel = new QWebChannel(qt.webChannelTransport, function (channel) {
+ window.bitmaskApp = channel.objects.bitmaskApp;
+ });
+ console.log(window.bitmaskApp);
+ }
+ window.onload = _onload;
+ </script>
</body>
-</html> \ No newline at end of file
+</html>