Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
correction of variable declaration
  • Loading branch information
poilu committed Jan 3, 2013
1 parent a6db09d commit b533e45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -37,10 +37,10 @@ ellipse.attr({fill: "#0a0", stroke: "none"});
Now you can perform one of the operations which delivers a string for the resulting path. Every of the four methods has two parameters for the Raphaël elements to process.

``` js
newPathStr = paper.union(path, ellipse);
var newPathStr = paper.union(path, ellipse);

//draw a new path element using that string
newPath = paper.path(newPathStr);
var newPath = paper.path(newPathStr);
newPath.attr({fill: "#666"});

// as they aren't needed anymore remove the other elements
Expand Down

0 comments on commit b533e45

Please sign in to comment.