diff -Naur 1/src/buffers.c 2/src/buffers.c --- 1/src/buffers.c 2015-09-27 11:06:51.000000000 -0700 +++ 2/src/buffers.c 2015-09-27 22:15:31.656778785 -0700 @@ -3554,6 +3554,44 @@ return true; } + if (stringEqual(line, "eg")) { + static const char jsconsole1[] = "ok = Object.keys = Object.keys || (function () { \n\ + var hasOwnProperty = Object.prototype.hasOwnProperty, \n\ + hasDontEnumBug = !{toString:null}.propertyIsEnumerable(\"toString\"),\n\ + DontEnums = [ \n\ + 'toString', 'toLocaleString', 'valueOf', 'hasOwnProperty', \n\ + 'isPrototypeOf', 'propertyIsEnumerable', 'constructor' \n\ + ], \n\ + DontEnumsLength = DontEnums.length; \n\ + return function (o) { \n\ + if (typeof o != \"object\" && typeof o != \"function\" || o === null) \n\ + throw new TypeError(\"Object.keys called on a non-object\");\n\ + var result = []; \n\ + for (var name in o) { \n\ + if (hasOwnProperty.call(o, name)) \n\ + result.push(name); \n\ + } \n\ + if (hasDontEnumBug) { \n\ + for (var i = 0; i < DontEnumsLength; i++) { \n\ + if (hasOwnProperty.call(o, DontEnums[i]))\n\ + result.push(DontEnums[i]);\n\ + }\n\ + }\n\ + return result; \n\ + }; \n\ + })(); \n\ + alert(Object.keys(this)); \n\ + "; + javaParseExecute(cw->winobj, jsconsole1, "",1); + return true; + } + + if (!strncmp(line, "jex ", 4)) { + char* routineonly = line + 4; + javaParseExecute(cw->winobj, routineonly, "",1); + return true; + } + if (stringEqual(line, "lna")) { listNA ^= 1; if (helpMessagesOn || debugLevel >= 1)