pull/31/head
Rich-Harris 8 years ago
parent 2f62a5aaca
commit 8bce418b25

@ -3,10 +3,10 @@ export default function counter () {
return function ( label ) { return function ( label ) {
if ( label in counts ) { if ( label in counts ) {
return `label_${counts[ label ]++}`; return `${label}${counts[ label ]++}`;
} }
counts[ label ] = 0; counts[ label ] = 1;
return label; return label;
}; };
} }

Loading…
Cancel
Save