From 2e55cd987117df837457b92028119012f63cbd3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Tue, 8 Mar 2011 01:05:01 +0000 Subject: [PATCH] Clean up source loading sequence, and rename test_function.js to helpers.js --- src/load.js | 12 ++++++------ test/lib/{test_functions.js => helpers.js} | 0 2 files changed, 6 insertions(+), 6 deletions(-) rename test/lib/{test_functions.js => helpers.js} (100%) diff --git a/src/load.js b/src/load.js index 85718497..32c91c8e 100644 --- a/src/load.js +++ b/src/load.js @@ -37,17 +37,16 @@ var sources = [ 'src/item/Item.js', 'src/item/Group.js', + 'src/item/Layer.js', 'src/item/Raster.js', 'src/item/PlacedSymbol.js', 'src/item/PathStyle.js', - 'src/path/PathItem.js', + 'src/path/Segment.js', 'src/path/Curve.js', - - 'src/item/Layer.js', + 'src/path/PathItem.js', 'src/path/Path.js', 'src/path/CompoundPath.js', - 'src/path/Path.Constructors.js', 'src/color/Color.js', @@ -63,8 +62,8 @@ var sources = [ 'src/util/BlendMode.js', 'src/util/CanvasProvider.js', - 'src/util/Numerical.js', 'src/util/Events.js', + 'src/util/Numerical.js', 'src/util/PaperScript.js' ]; @@ -72,7 +71,8 @@ var sources = [ if (loadTests) { sources.push( 'test/lib/qunit/qunit.js', - 'test/lib/test_functions.js', + 'test/lib/helpers.js', + 'test/tests/Point.js', 'test/tests/Size.js', 'test/tests/Rectangle.js', diff --git a/test/lib/test_functions.js b/test/lib/helpers.js similarity index 100% rename from test/lib/test_functions.js rename to test/lib/helpers.js