workaround for IE8's stupidness, use a \n for new lines

This commit is contained in:
Peter 'Pita' Martischka 2012-11-03 17:02:28 +00:00
parent 7aae29114b
commit 3ee4fadf8a
2 changed files with 3 additions and 3 deletions

View file

@ -75,9 +75,9 @@ $(function(){
//indent all lines with the given amount of space
var newText = _(text.split("\n")).map(function(line){
return space + line;
}).join("\n");
}).join("\\n");
$console.text(oldText + newText + "\n");
$console.text(oldText + newText + "\\n");
}
runner.on('suite', function(suite){