From ea0147fe85c6f70eda31f358cb0f9e26f8eacc9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 22 Feb 2014 13:09:26 +0100 Subject: [PATCH 1/2] Handle slight imprecisions in Matrix tests. --- test/tests/Matrix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tests/Matrix.js b/test/tests/Matrix.js index 25e1330a..e6058f3c 100644 --- a/test/tests/Matrix.js +++ b/test/tests/Matrix.js @@ -18,7 +18,7 @@ test('Decomposition: rotate()', function() { equals(m.getRotation(), Base.pick(ea, a), s + '.getRotation()', Numerical.TOLERANCE); - equals(m.getScaling(), new Point(1, 1), + comparePoints(m.getScaling(), new Point(1, 1), s + '.getScaling()'); } From f95982c3655b458f121bb71ae39ebb380807e26e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 22 Feb 2014 13:10:03 +0100 Subject: [PATCH 2/2] Use native method for #contains() until the new winding code is ready. Providing a temporary fix for #400. --- src/options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.js b/src/options.js index 55bc09d8..e80ce515 100644 --- a/src/options.js +++ b/src/options.js @@ -23,6 +23,6 @@ var __options = { fatline: true, paperscript: true, palette: true, - nativeContains: false, + nativeContains: true, debug: false };