mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-08 10:44:30 -04:00
Fix console logging.
This commit is contained in:
parent
eb8ebca097
commit
d9e2d2a94a
1 changed files with 1 additions and 1 deletions
|
@ -21,13 +21,13 @@
|
||||||
var container = document.getElementById('container');
|
var container = document.getElementById('container');
|
||||||
|
|
||||||
function runTest(testName, handler) {
|
function runTest(testName, handler) {
|
||||||
console.log('\n' + testName);
|
|
||||||
var caption = document.createElement('h3');
|
var caption = document.createElement('h3');
|
||||||
var canvas = document.createElement('canvas');
|
var canvas = document.createElement('canvas');
|
||||||
caption.appendChild(document.createTextNode(testName));
|
caption.appendChild(document.createTextNode(testName));
|
||||||
container.appendChild(caption);
|
container.appendChild(caption);
|
||||||
container.appendChild(canvas);
|
container.appendChild(canvas);
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
console.log('\n' + testName);
|
||||||
paper.setup(canvas);
|
paper.setup(canvas);
|
||||||
var paths = handler();
|
var paths = handler();
|
||||||
testBooleanStatic(paths[0], paths[1]);
|
testBooleanStatic(paths[0], paths[1]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue