]> git.proxmox.com Git - mirror_novnc.git/commit
web-socket-js: Add function invocation fix.
authorJoel Martin <github@martintribe.org>
Wed, 19 Jan 2011 19:01:28 +0000 (13:01 -0600)
committerJoel Martin <github@martintribe.org>
Wed, 19 Jan 2011 19:01:28 +0000 (13:01 -0600)
commitb43c9838a5760d9a6f32049798cb292a7876ec3c
tree49feda4e24ac1681f8c41bb060ef574edf2e1b90
parent9a23006e7a33891d742a975b9d4702674cec30fa
web-socket-js: Add function invocation fix.

Related to this issue:
https://github.com/gimite/web-socket-js/issues/#issue/50

This prevents the "Uncaught exception: TypeError:
'this.__handleEvents' is not a function" everytime the timer fires.

Yay, one of Javascript's worst behaviors; the way it sets "this".
include/web-socket-js/web_socket.js