diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2013-01-18 17:01:17 +0100 |
---|---|---|
committer | Pierre Rossi <pierre.rossi@gmail.com> | 2013-11-01 13:57:43 +0100 |
commit | c86d428d387c2e5dcf802f1d00fc2d5fb9955ba0 (patch) | |
tree | b9c22eeed0e2465bcd21f0ca56c51517a769c42b /examples | |
parent | 62c243c979b172ae554f372a0d883c0273cafc53 (diff) | |
download | qtwebchannel-c86d428d387c2e5dcf802f1d00fc2d5fb9955ba0.tar.gz |
Fix document.write call - the '+' is required...
Change-Id: I6d3bdd438c02ed70281a299ae781fea49a0e4b9c
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/qtobject/qml/qtobject/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qtobject/qml/qtobject/index.html b/examples/qtobject/qml/qtobject/index.html index a24dde3..ab1a542 100644 --- a/examples/qtobject/qml/qtobject/index.html +++ b/examples/qtobject/qml/qtobject/index.html @@ -2,8 +2,8 @@ <head> <script type="text/javascript"> var base = (/[?&]webChannelBaseUrl=([A-Za-z0-9\-:/]+)/.exec(location.search)[1]); - document.write('<script src="' + base + '/webchannel.js/setupWebChannel"></script>'); - document.write('<script src="' + base + '/qobject.js"><' + '/script>'); + document.write('<script src="' + base + '/webchannel.js/setupWebChannel"><'+'/script>'); + document.write('<script src="' + base + '/qobject.js"><'+'/script>'); window.output = function(x) { document.querySelector("#out").innerHTML += x + "\n"; |