Commit 712bf837 by Dmitry Baranovskiy

1.2.3

• Updated print method with fix for vertical position
• Updated scale method with fix negative scaling
• Fix for toBack method if there is only one element.
• Adding attr() w/o params return big attr object
parent 4ebf118f
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -1363,6 +1363,13 @@ window.Raphael = (function () {
if (this.removed) {
return this;
}
if (arguments[length] == 0) {
var res = {};
for (var i in this.attrs) if (this.attrs[has](i)) {
res[i] = this.attrs[i];
}
return res;
}
if (arguments[length] == 1 && R.is(arguments[0], "string")) {
if (arguments[0] == "translation") {
return translate.call(this);
......@@ -2044,6 +2051,13 @@ window.Raphael = (function () {
if (this.removed) {
return this;
}
if (arguments[length] == 0) {
var res = {};
for (var i in this.attrs) if (this.attrs[has](i)) {
res[i] = this.attrs[i];
}
return res;
}
if (arguments[length] == 1 && R.is(arguments[0], "string")) {
if (arguments[0] == "translation") {
return translate.call(this);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment