From 4e3aa3e5c5270372884db027daffd59f5aa0d557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Mon, 20 Jun 2011 16:38:01 +0100 Subject: [PATCH] Move all Style classes into their own folder. --- src/load.js | 9 +++++---- src/paper.js | 9 +++++---- src/{text => style}/CharacterStyle.js | 0 src/{text => style}/ParagraphStyle.js | 0 src/{item => style}/PathStyle.js | 0 src/{item => style}/Style.js | 0 6 files changed, 10 insertions(+), 8 deletions(-) rename src/{text => style}/CharacterStyle.js (100%) rename src/{text => style}/ParagraphStyle.js (100%) rename src/{item => style}/PathStyle.js (100%) rename src/{item => style}/Style.js (100%) diff --git a/src/load.js b/src/load.js index 541931ae..c9173e6d 100644 --- a/src/load.js +++ b/src/load.js @@ -44,8 +44,6 @@ var sources = [ 'src/item/Layer.js', 'src/item/Raster.js', 'src/item/PlacedSymbol.js', - 'src/item/Style.js', - 'src/item/PathStyle.js', 'src/path/Segment.js', 'src/path/SegmentPoint.js', @@ -61,8 +59,11 @@ var sources = [ 'src/text/TextItem.js', 'src/text/PointText.js', - 'src/text/ParagraphStyle.js', - 'src/text/CharacterStyle.js', + + 'src/style/Style.js', + 'src/style/PathStyle.js', + 'src/style/ParagraphStyle.js', + 'src/style/CharacterStyle.js', 'src/color/Color.js', 'src/color/GradientColor.js', diff --git a/src/paper.js b/src/paper.js index 9d91f58c..45230142 100644 --- a/src/paper.js +++ b/src/paper.js @@ -64,8 +64,6 @@ var paper = new function() { //#include "item/Layer.js" //#include "item/Raster.js" //#include "item/PlacedSymbol.js" -//#include "item/Style.js" -//#include "item/PathStyle.js" //#include "path/Segment.js" //#include "path/SegmentPoint.js" @@ -81,8 +79,11 @@ var paper = new function() { //#include "text/TextItem.js" //#include "text/PointText.js" -//#include "text/ParagraphStyle.js" -//#include "text/CharacterStyle.js" + +//#include "style/Style.js" +//#include "style/PathStyle.js" +//#include "style/ParagraphStyle.js" +//#include "style/CharacterStyle.js" //#include "color/Color.js" //#include "color/GradientColor.js" diff --git a/src/text/CharacterStyle.js b/src/style/CharacterStyle.js similarity index 100% rename from src/text/CharacterStyle.js rename to src/style/CharacterStyle.js diff --git a/src/text/ParagraphStyle.js b/src/style/ParagraphStyle.js similarity index 100% rename from src/text/ParagraphStyle.js rename to src/style/ParagraphStyle.js diff --git a/src/item/PathStyle.js b/src/style/PathStyle.js similarity index 100% rename from src/item/PathStyle.js rename to src/style/PathStyle.js diff --git a/src/item/Style.js b/src/style/Style.js similarity index 100% rename from src/item/Style.js rename to src/style/Style.js