From 9cdc4b9372cb02c3ec77b70da82f4dfe0b35ab51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Mon, 8 Apr 2013 20:52:21 -0700 Subject: [PATCH] Switch back to only one Gradient constructor for both linear and radial Gradients. --- examples/JSON/Gradients.html | 2 +- examples/Paperjs.org/BouncingBalls.html | 2 +- examples/Paperjs.org/RadialRainbows.html | 2 +- examples/SVG Export/Gradients.html | 4 +- examples/Scripts/HslColor.html | 2 +- src/color/Gradient.js | 56 +++++++----------------- src/color/GradientColor.js | 20 ++++----- src/color/GradientStop.js | 4 +- src/svg/SvgExport.js | 8 ++-- src/svg/SvgImport.js | 2 +- test/tests/Item_Cloning.js | 2 +- test/tests/JSON.js | 2 +- 12 files changed, 41 insertions(+), 65 deletions(-) diff --git a/examples/JSON/Gradients.html b/examples/JSON/Gradients.html index f0041892..b7882742 100644 --- a/examples/JSON/Gradients.html +++ b/examples/JSON/Gradients.html @@ -7,7 +7,7 @@