summaryrefslogtreecommitdiff
path: root/examples/qmlapp/index.html
diff options
context:
space:
mode:
authorNo'am Rosenthal <noam.rosenthal@nokia.com>2011-07-13 17:22:00 -0700
committerNo'am Rosenthal <noam.rosenthal@nokia.com>2011-07-13 17:22:00 -0700
commit308583ae677a8123bb9e90268e510c814e9753cd (patch)
tree5c23bdf508a269c432fcac911b5c8fe3f3812f80 /examples/qmlapp/index.html
parent196f57c034b3deb96f87d1a91011d5be21813b0c (diff)
downloadqtwebchannel-308583ae677a8123bb9e90268e510c814e9753cd.tar.gz
Fix some indentations, and remove more dead code
Diffstat (limited to 'examples/qmlapp/index.html')
-rw-r--r--examples/qmlapp/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/qmlapp/index.html b/examples/qmlapp/index.html
index 2fc9715..b6a7aa9 100644
--- a/examples/qmlapp/index.html
+++ b/examples/qmlapp/index.html
@@ -4,20 +4,20 @@
<script>
window.onload = function() {
var textArea = document.querySelector("textarea");
- function debug(x) {
+ function output(x) {
textArea.value = textArea.value + x + "\n";
}
navigator.webChannel.subscribe(
"incoming-call",
function(message) {
- debug(message);
+ output(message);
}
);
navigator.webChannel.execute(
{a:"This is a request from HTML"},
function(response) {
- debug(response.b);
+ output(response.b);
}
);
};