Skip to content

Instantly share code, notes, and snippets.

@cdmwebs
Created September 14, 2011 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdmwebs/1216544 to your computer and use it in GitHub Desktop.
Save cdmwebs/1216544 to your computer and use it in GitHub Desktop.
{
"_id": "2643f4d1de6a4d880678fa0f720efd76",
"_rev": "2-8070abd82658a3c390053c8b3b184df9",
"type": "camera",
"location": "I-275 at Colerain Ave.",
"href": "http://www.artimis.org/camera/camera112.php",
"latitude": null,
"longitude": null,
"imageURL": "http://cmhimg01.dot.state.oh.us/images/artimis/CCTV112.jpg"
}
{
"_id": "_design/backbone",
"_rev": "17-369f99937afedf6787105742f7522c28",
"language": "javascript",
"views": {
"collection": {
"map": "function(doc) { emit(doc._id, doc); }"
}
},
"rewrites": [
{
"from": "/collections/:type",
"to": "_view/collection",
"query": {
"type": ":type"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment