blob: 2cd0bf17769ba059fa11bac95cc714912afa72ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Bitmask</title>
<style>
body {background: #333 !important}
</style>
</head>
<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>
|