Improving bonfire and adding testing

This commit is contained in:
Nathan Leniz
2015-01-18 19:10:03 -05:00
parent 610af83978
commit 53e5d06147
4 changed files with 5050 additions and 23 deletions

View File

@@ -42,7 +42,12 @@ var runHidden = function(code) {
var onoffline = null;
var ononline = null;
var importScripts = null;
var console = null;
var console = {
panel: $(parent.document.body).append('<div>'),
log: function(m){
this.panel.prepend('<div>'+m+'</div>');
}
};
var application = null;
return eval(code);