Fixing ReferenceError errors.

This commit is contained in:
Renan Gonçalves 2012-12-10 15:11:18 +01:00
parent d55f5377bb
commit 7f2507aeaa
2 changed files with 2 additions and 1 deletions

View File

@ -653,7 +653,7 @@ return that; // Return the public API interface
/*
* Browser keypress to X11 keysym for Unicode characters > U+00FF
*/
unicodeTable = {
var unicodeTable = {
0x0104 : 0x01a1,
0x02D8 : 0x01a2,
0x0141 : 0x01a3,

View File

@ -25,6 +25,7 @@
// To enable WebSocket emulator debug:
//window.WEB_SOCKET_DEBUG=1;
var Websock_native;
if (window.WebSocket && !window.WEB_SOCKET_FORCE_FLASH) {
Websock_native = true;
} else if (window.MozWebSocket && !window.WEB_SOCKET_FORCE_FLASH) {