Skip to content

Instantly share code, notes, and snippets.

@DavidQL
Created June 2, 2011 17:07
Show Gist options
  • Save DavidQL/1004825 to your computer and use it in GitHub Desktop.
Save DavidQL/1004825 to your computer and use it in GitHub Desktop.
_.each(data,function(model) {
$('<li/>')
.data('lat',model.latitude)
.data('long',model.longitude)
.data('name',model.name)
.data('address',model.address)
.appendTo('ul#locations');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment