Skip to content

Commit

Permalink
perf(map data): use different for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
mpfeil committed Mar 5, 2018
1 parent b91e687 commit 305def6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/services/osemdata.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
}

if (classifiedMarker) {
for (var i = classifiedMarker.length - 1; i >= 0; i--) {
for (var i = 0; i < classifiedMarker.length; i++) {
var id = makeid();
newMarkers[id] = classifiedMarker[i];
}
Expand Down

0 comments on commit 305def6

Please sign in to comment.