fixing the evaluate code so it works under firefox

This commit is contained in:
Danny Yoo 2011-03-16 21:16:36 -04:00
parent 8b1172abe3
commit dcff043704

View File

@ -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 = [];