Skip to content

Commit

Permalink
Merge pull request DmitryBaranovskiy#428 from ac3522/master
Browse files Browse the repository at this point in the history
Updating documentation on Raphael.format method
  • Loading branch information
DmitryBaranovskiy committed Nov 15, 2011
2 parents 3c49587 + 6cfe4aa commit 0c722d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions raphael.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -4524,7 +4524,7 @@
| width = 40,
| height = 50;
| // this will draw a rectangular shape equivalent to "M10,20h40v50h-40z"
| paper.path(Raphael.format("M{1},{2}h{3}v{4}h{5}z", x, y, width, height, -width));
| paper.path(Raphael.format("M{0},{1}h{2}v{3}h{4}z", x, y, width, height, -width));
\*/
R.format = function (token, params) {
var args = R.is(params, array) ? [0][concat](params) : arguments;
Expand Down Expand Up @@ -4638,4 +4638,4 @@
eve.on("DOMload", function () {
loaded = true;
});
})();
})();

0 comments on commit 0c722d5

Please sign in to comment.