mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
Fix console logging.
This commit is contained in:
parent
fb5044f1bf
commit
45699e05b5
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue