summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorNo'am Rosenthal <noam.rosenthal@nokia.com>2011-08-04 18:16:23 -0700
committerNo'am Rosenthal <noam.rosenthal@nokia.com>2011-08-04 18:16:23 -0700
commitbfd57919e0eb07ebfb410cd61f96333cf3ae954f (patch)
tree1925fc02e21a607f1f8048340ed708c0ac27cfe0 /examples
parent3cb151d2373054090bd5c008ae78a69d740e3032 (diff)
downloadqtwebchannel-bfd57919e0eb07ebfb410cd61f96333cf3ae954f.tar.gz
Change message type to foobar, to make more readable
Diffstat (limited to 'examples')
-rw-r--r--examples/qmlapp/index.html2
-rw-r--r--examples/qmlapp/qmlapp.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/qmlapp/index.html b/examples/qmlapp/index.html
index d84d549..3729301 100644
--- a/examples/qmlapp/index.html
+++ b/examples/qmlapp/index.html
@@ -20,7 +20,7 @@
window.onload = function() {
navigator.createWebChannel(function(c) {
c.subscribe(
- "incoming-call",
+ "foobar",
function(message) {
output(message);
}
diff --git a/examples/qmlapp/qmlapp.qml b/examples/qmlapp/qmlapp.qml
index 063a4a6..440c532 100644
--- a/examples/qmlapp/qmlapp.qml
+++ b/examples/qmlapp/qmlapp.qml
@@ -41,7 +41,7 @@ Rectangle {
MouseArea {
anchors.fill: parent
onClicked: {
- webChannel.broadcast("incoming-call", JSON.stringify(editor.text));
+ webChannel.broadcast("foobar", JSON.stringify(editor.text));
}
}
}