Fix console logging.

This commit is contained in:
Jürg Lehni 2013-05-04 14:27:53 -07:00
parent fb5044f1bf
commit 45699e05b5

View file

@ -21,13 +21,13 @@
var container = document.getElementById('container');
function runTest(testName, handler) {
console.log('\n' + testName);
var caption = document.createElement('h3');
var canvas = document.createElement('canvas');
caption.appendChild(document.createTextNode(testName));
container.appendChild(caption);
container.appendChild(canvas);
setTimeout(function() {
console.log('\n' + testName);
paper.setup(canvas);
var paths = handler();
testBooleanStatic(paths[0], paths[1]);