Skip to content

Instantly share code, notes, and snippets.

@jbrecht
jbrecht / map.js
Created May 28, 2011 00:22
Slice map
function(doc) {
if (doc.doc_type != "resource_data") return;
var date_stamp = doc.node_timestamp;
date_stamp = date_stamp.substring(0,10);
var people = new Array();
var arrayContains = function(testArray, testValue) {
for each(var val in testArray) {