Skip to content

Instantly share code, notes, and snippets.

@joepie91
Last active October 31, 2015 14:53
Show Gist options
  • Save joepie91/892e26570790ff969d60 to your computer and use it in GitHub Desktop.
Save joepie91/892e26570790ff969d60 to your computer and use it in GitHub Desktop.
criterion.forEach(function(item) {
item.maprange = item.startmap + " ";
if (item.endmap != null && item.startmap !== item.endmap) {
item.maprange += " - " + item.endmap;
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment