projects
/
raphael
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3c49587
)
Updating comments on Raphael.format method to reflect actual behavior.
author
Nicholas Canzoneri
<ac3522@gmail.com>
Sun, 23 Oct 2011 03:12:44 +0000
(23:12 -0400)
committer
Nicholas Canzoneri
<ac3522@gmail.com>
Sun, 23 Oct 2011 03:12:44 +0000
(23:12 -0400)
raphael.core.js
patch
|
blob
|
history
diff --git
a/raphael.core.js
b/raphael.core.js
index
39ff7e2
..
7780428
100644
(file)
--- a/
raphael.core.js
+++ b/
raphael.core.js
@@
-4524,7
+4524,7
@@
| width = 40,
| height = 50;
| // this will draw a rectangular shape equivalent to "M10,20h40v50h-40z"
| 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;
\*/
R.format = function (token, params) {
var args = R.is(params, array) ? [0][concat](params) : arguments;
@@
-4638,4
+4638,4
@@
eve.on("DOMload", function () {
loaded = true;
});
eve.on("DOMload", function () {
loaded = true;
});
-})();
\ No newline at end of file
+})();