Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
2 additions
and
2 deletions.
-
+1
−1
test/tests/LayerAnimationTest.coffee
-
+1
−1
test/tests/SVGPathTest.coffee
|
@@ -1272,7 +1272,7 @@ describe "LayerAnimation", -> |
|
|
|
|
|
it "should animate along a path", (done) -> |
|
|
svg = new SVGLayer |
|
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><path d="M 100 50 C 100 77.614 77.614 100 50 100 C 22.386 100 0 77.614 0 50 C 0 22.386 22.386 0 50 0" id="path" fill="transparent" stroke="#0AF"></path></svg>' |
|
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><path d="M 100 50 C 100 77.614 77.614 100 50 100 C 22.386 100 0 77.614 0 50 C 0 22.386 22.386 0 50 0" id="path" name="path" fill="transparent" stroke="#0AF"></path></svg>' |
|
|
path = svg.elements.path |
|
|
l = new Layer |
|
|
size: 10 |
|
|
|
@@ -5,7 +5,7 @@ describe "SVGPath", -> |
|
|
svg = new SVGLayer |
|
|
x: 123 |
|
|
y: 456 |
|
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><path d="M 100 50 C 100 77.614 77.614 100 50 100 C 22.386 100 0 77.614 0 50 C 0 22.386 22.386 0 50 0" id="path" fill="transparent" stroke="#0AF"></path></svg>' |
|
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><path d="M 100 50 C 100 77.614 77.614 100 50 100 C 22.386 100 0 77.614 0 50 C 0 22.386 22.386 0 50 0" id="path" name="path" fill="transparent" stroke="#0AF"></path></svg>' |
|
|
path = svg.elements.path |
|
|
|
|
|
it "should get the beginning", -> |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.