diff --git a/examples/Animated/animatedStar.html b/examples/Animated/animatedStar.html index 79c4ce4b..256ed116 100644 --- a/examples/Animated/animatedStar.html +++ b/examples/Animated/animatedStar.html @@ -4,19 +4,18 @@ Example - + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + diff --git a/examples/Tools/Clouds.html b/examples/Tools/Clouds.html index 0dc21ff2..640e8317 100644 --- a/examples/Tools/Clouds.html +++ b/examples/Tools/Clouds.html @@ -4,19 +4,18 @@ Example - + - - - - - - - - - - - + + + + + + + + + + diff --git a/examples/Tools/Dripping Brush.html b/examples/Tools/Dripping Brush.html index 6e519c25..9c51d1b8 100644 --- a/examples/Tools/Dripping Brush.html +++ b/examples/Tools/Dripping Brush.html @@ -4,19 +4,18 @@ Example - + - - - - - - - - - - - + + + + + + + + + + diff --git a/examples/Tools/Fancy Brush.html b/examples/Tools/Fancy Brush.html index 41d28713..0f866d96 100644 --- a/examples/Tools/Fancy Brush.html +++ b/examples/Tools/Fancy Brush.html @@ -4,19 +4,18 @@ Example - + - - - - - - - - - - - + + + + + + + + + + diff --git a/examples/Tools/Grid.html b/examples/Tools/Grid.html index 4549a0ae..38bc7f39 100644 --- a/examples/Tools/Grid.html +++ b/examples/Tools/Grid.html @@ -4,19 +4,18 @@ Example - + - - - - - - - - - - - + + + + + + + + + + diff --git a/examples/Tools/MultiLines.html b/examples/Tools/MultiLines.html index a2b1574e..a192ed3a 100644 --- a/examples/Tools/MultiLines.html +++ b/examples/Tools/MultiLines.html @@ -4,19 +4,18 @@ Example - + - - - - - - - - - - - + + + + + + + + + + diff --git a/examples/Tools/Wave.html b/examples/Tools/Wave.html index 1d012adf..d4f0ad2f 100644 --- a/examples/Tools/Wave.html +++ b/examples/Tools/Wave.html @@ -4,19 +4,18 @@ Example - + - - - - - - - - - - - + + + + + + + + + + diff --git a/examples/Tools/Worm Farm.html b/examples/Tools/Worm Farm.html index b332538d..0fe2c660 100644 --- a/examples/Tools/Worm Farm.html +++ b/examples/Tools/Worm Farm.html @@ -4,19 +4,18 @@ Example - + - - - - - - - - - - - + + + + + + + + + + diff --git a/src/Bootstrap.js b/lib/Bootstrap.js similarity index 100% rename from src/Bootstrap.js rename to lib/Bootstrap.js diff --git a/src/Point.js b/src/basic/Point.js similarity index 100% rename from src/Point.js rename to src/basic/Point.js diff --git a/src/Rectangle.js b/src/basic/Rectangle.js similarity index 100% rename from src/Rectangle.js rename to src/basic/Rectangle.js diff --git a/src/Size.js b/src/basic/Size.js similarity index 100% rename from src/Size.js rename to src/basic/Size.js diff --git a/src/Doc.js b/src/document/Doc.js similarity index 100% rename from src/Doc.js rename to src/document/Doc.js diff --git a/src/Group.js b/src/item/Group.js similarity index 100% rename from src/Group.js rename to src/item/Group.js diff --git a/src/Item.js b/src/item/Item.js similarity index 100% rename from src/Item.js rename to src/item/Item.js diff --git a/src/Layer.js b/src/item/Layer.js similarity index 100% rename from src/Layer.js rename to src/item/Layer.js diff --git a/src/Path.js b/src/path/Path.js similarity index 100% rename from src/Path.js rename to src/path/Path.js diff --git a/src/PathItem.js b/src/path/PathItem.js similarity index 100% rename from src/PathItem.js rename to src/path/PathItem.js diff --git a/src/Segment.js b/src/path/Segment.js similarity index 94% rename from src/Segment.js rename to src/path/Segment.js index 2e642576..a5ba5475 100644 --- a/src/Segment.js +++ b/src/path/Segment.js @@ -30,13 +30,14 @@ Segment = Base.extend({ } }, - insert: function() { - if(this.segments && this.segments.path) { - var path = this.segments.path; - path.checkValid(); - - } - }, + // TODO: + // insert: function() { + // if(this.segments && this.segments.path) { + // var path = this.segments.path; + // path.checkValid(); + // + // } + // }, getPoint: function() { return this.point; diff --git a/src/Tool.js b/src/tool/Tool.js similarity index 100% rename from src/Tool.js rename to src/tool/Tool.js diff --git a/src/ToolEvent.js b/src/tool/ToolEvent.js similarity index 100% rename from src/ToolEvent.js rename to src/tool/ToolEvent.js diff --git a/src/ToolHandler.js b/src/tool/ToolHandler.js similarity index 100% rename from src/ToolHandler.js rename to src/tool/ToolHandler.js diff --git a/test/index.html b/test/index.html index ed0c7036..a20688bb 100644 --- a/test/index.html +++ b/test/index.html @@ -4,19 +4,19 @@ Paper.js Tests - + - - - - - - - - - - - + + + + + + + + + + +