diff --git a/src/NodeContainer.js b/src/NodeContainer.js index 9408913..3e438d6 100644 --- a/src/NodeContainer.js +++ b/src/NodeContainer.js @@ -82,7 +82,12 @@ export default class NodeContainer { image: ?string; index: number; - constructor(node: HTMLElement, parent: ?NodeContainer, imageLoader: ImageLoader, index: number) { + constructor( + node: HTMLElement, + parent: ?NodeContainer, + imageLoader: ImageLoader, + index: number + ) { this.parent = parent; this.index = index; this.childNodes = []; diff --git a/tests/reftests/text/fontawesome.html b/tests/reftests/text/fontawesome.html index c5f0aed..856110f 100644 --- a/tests/reftests/text/fontawesome.html +++ b/tests/reftests/text/fontawesome.html @@ -20,7 +20,7 @@ diff --git a/tests/reftests/text/fontawesome.txt b/tests/reftests/text/fontawesome.txt index c89d63e..463c478 100644 --- a/tests/reftests/text/fontawesome.txt +++ b/tests/reftests/text/fontawesome.txt @@ -62,9 +62,8 @@ Text: rgb(0,0,0) normal normal 400 16px FontAwesome Text: rgb(0,0,0) normal normal 400 16px Arial [42, 176]: as [63, 176]: bullets -Transform: (24, 182) [0.97, 0.26, -0.26, 0.97, 0, 0] - Text: rgb(0,0,0) normal normal 400 16px FontAwesome - [16, 177]:  +Text: rgb(0,0,0) normal normal 400 16px FontAwesome + [18, 178]:  Text: rgb(0,0,0) normal normal 400 16px Arial [42, 194]: in [59, 194]: lists diff --git a/tests/test.js b/tests/test.js index 55e378f..f711ff6 100644 --- a/tests/test.js +++ b/tests/test.js @@ -40,9 +40,14 @@ var REFTEST = window.location.search.indexOf('reftest') !== -1; promise.then(function(output) { var canvas = Array.isArray(targets) ? output[0] : output; if (Array.isArray(targets)) { - console.log(output[1].split('\n').map(function(line, i) { - return (i + 1) + ':' + line; - }).join('\n')); + console.log( + output[1] + .split('\n') + .map(function(line, i) { + return i + 1 + ':' + line; + }) + .join('\n') + ); } var $canvas = $(canvas), finishTime = new Date();