Skip to content

Commit 4d4ca1d

Browse files
committed
Use strings as ids. Closes #13
1 parent 941a1a8 commit 4d4ca1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var assignId = (function(){
2828
var counter = 1;
2929
return function (property){
3030
if(!property.id){
31-
property.id = counter++;
31+
property.id = String(counter++);
3232
properties[property.id] = property;
3333
}
3434
};

0 commit comments

Comments
 (0)