Permalink
Browse files

Added history view.

  • Loading branch information...
1 parent 1c96346 commit cbac38edc8dfd93da4dd6c332160e509ed55e664 @dustin dustin committed Aug 30, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 views/history/map.js
View
@@ -0,0 +1,7 @@
+function(doc) {
+ if (doc.rm_history) {
+ doc.rm_history.forEach(function(h) {
+ emit([h.when, h.who.name, h.from], h.to);
+ });
+ }
+}

0 comments on commit cbac38e

Please sign in to comment.