Skip to content

Commit

Permalink
Merge branch 'iss994' of /~https://github.com/byuksel/raphael into byuk…
Browse files Browse the repository at this point in the history
…sel-iss994
  • Loading branch information
tomasAlabes committed Mar 24, 2019
2 parents d82175f + 1db199e commit 08f2c8b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
12 changes: 11 additions & 1 deletion dev/raphael.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,17 @@ define(["eve"], function(eve) {
}
data.toString = R._path2string;
return data;
});
}, this, function(elem) {
if (!elem) return elem;
var newData = [];
for (var i = 0; i < elem.length; i++) {
var newLevel = [];
for (var j = 0; j < elem[i].length; j++) {
newLevel.push(elem[i][j]);
}
newData.push(newLevel);
}
return newData; } );
// PATHS
var paths = function (ps) {
var p = paths.ps = paths.ps || {};
Expand Down
4 changes: 2 additions & 2 deletions raphael.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion raphael.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions raphael.no-deps.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion raphael.no-deps.min.js

Large diffs are not rendered by default.

0 comments on commit 08f2c8b

Please sign in to comment.