fixing the evaluate code so it works under firefox
This commit is contained in:
parent
8b1172abe3
commit
dcff043704
|
@ -213,7 +213,7 @@ var comet = function() {
|
|||
sendRequest("/eval",
|
||||
function(req) {
|
||||
// debug:
|
||||
if (console && typeof(console.log) === 'function') { console.log(req.responseText); }
|
||||
if (window.console && typeof(console.log) === 'function') { console.log(req.responseText); }
|
||||
|
||||
var invoke = eval(req.responseText)();
|
||||
var output = [];
|
||||
|
|
Loading…
Reference in New Issue
Block a user