summaryrefslogtreecommitdiff
path: root/proto.js
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-01-18 10:47:53 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-01-18 10:47:53 +0100
commitb5b75f83a207c00d3582745bd2dc1866639028b6 (patch)
tree6418ad496b4ac83ee2e02eb1006cc3a5ccd97b72 /proto.js
parentbe548e6f934128d8ad12190b9b7849f9f91fc517 (diff)
Rewrite of javascript engine to be more model-view-controller like.
Diffstat (limited to 'proto.js')
-rw-r--r--proto.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/proto.js b/proto.js
index a7f9fdf..74fa3ab 100644
--- a/proto.js
+++ b/proto.js
@@ -40,8 +40,6 @@ try {
}
socket_task.onmessage = function got_packet(msg) {
- document.getElementById("wstask_lastmsg").textContent = msg.data;
-
var messageEvent = new CustomEvent("messageEvent", {
detail: {
message: msg.data,
@@ -163,3 +161,4 @@ try {
} catch(exception) {
alert('<p>Error' + exception + '</p>');
}
+