From 6f557a3c1336df8ac73ea928071cef49287f56dd Mon Sep 17 00:00:00 2001 From: Chris Anderson Date: Fri, 20 Jun 2008 14:19:07 -0700 Subject: [PATCH] dropped old boring view files --- views/books/chunked-map.js | 2 -- views/books/united-map.js | 2 -- views/markov/chain-map.js | 2 -- views/markov/chain-reduce.js | 2 -- views/word_count/count-map.js | 2 -- views/word_count/count-reduce.js | 2 -- 6 files changed, 12 deletions(-) delete mode 100644 views/books/chunked-map.js delete mode 100644 views/books/united-map.js delete mode 100644 views/markov/chain-map.js delete mode 100644 views/markov/chain-reduce.js delete mode 100644 views/word_count/count-map.js delete mode 100644 views/word_count/count-reduce.js diff --git a/views/books/chunked-map.js b/views/books/chunked-map.js deleted file mode 100644 index bad5145..0000000 --- a/views/books/chunked-map.js +++ /dev/null @@ -1,2 +0,0 @@ - -function(doc){doc.title&&doc.chunk&&emit([doc.title,doc.chunk],null);} \ No newline at end of file diff --git a/views/books/united-map.js b/views/books/united-map.js deleted file mode 100644 index 9f455a5..0000000 --- a/views/books/united-map.js +++ /dev/null @@ -1,2 +0,0 @@ - -function(doc){if(doc.text&&doc.text.match(/united/))emit([doc.title,doc.chunk],null)} \ No newline at end of file diff --git a/views/markov/chain-map.js b/views/markov/chain-map.js deleted file mode 100644 index 40f09df..0000000 --- a/views/markov/chain-map.js +++ /dev/null @@ -1,2 +0,0 @@ - -function(doc){var words=doc.text.split(/\W/).filter(function(w){return w.length>0}).map(function(w){return w.toLowerCase()});for(var i=0,l=words.length;i0)emit([word,doc.title],1);});} \ No newline at end of file diff --git a/views/word_count/count-reduce.js b/views/word_count/count-reduce.js deleted file mode 100644 index aef77c7..0000000 --- a/views/word_count/count-reduce.js +++ /dev/null @@ -1,2 +0,0 @@ - -function(key,combine){return sum(combine);} \ No newline at end of file