Skip to content

Commit

Permalink
Update packages/optimizer/lib/transformers/ApplyCommonAttributes.js
Browse files Browse the repository at this point in the history
Co-authored-by: Weston Ruter <westonruter@google.com>
  • Loading branch information
sebastianbenz and westonruter authored May 13, 2020
1 parent 681f7e5 commit 7fd8734
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ class ApplyCommonAttributes {
return node.attribs.id;
}
node.attribs = node.attribs || [];
node.attribs.id = ID_PREFIX + this.counter;
node.attribs.id = ID_PREFIX + this.counter.toString();
this.counter++;
return node.attribs.id;
}
Expand Down

0 comments on commit 7fd8734

Please # to comment.