Skip to content

Commit

Permalink
Update rough.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Theo-Jaunet authored Aug 21, 2019
1 parent ecc02f8 commit f081ada
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/rough.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ var rough = function () {

toPaths(t) {
const e = t.sets || [], s = t.options || this.defaultOptions, i = [];
for (const t of e) {
for (var t of e) {
let e = null;
switch (t.type) {
case"path":
Expand Down Expand Up @@ -1388,4 +1388,4 @@ var rough = function () {
}

return {canvas: (t, e) => new F(t, e), svg: (t, e) => new H(t, e), generator: (t, e) => new U(t, e)}
}();
}();

0 comments on commit f081ada

Please sign in to comment.