Parent Directory | Revision Log
drop in map/reduce javascript function which work on data imported from reblog
1 | function (k, v, c) { |
2 | if ( c ) { |
3 | a = v.shift(); |
4 | //log( a ); log( v ); |
5 | while ( v.length ) { |
6 | //log( v.length ); |
7 | e = v.shift(); |
8 | //log( e ); |
9 | a.concat( e ); |
10 | } |
11 | return a; |
12 | } else { |
13 | return v; |
14 | } |
15 | } |
ViewVC Help | |
Powered by ViewVC 1.1.26 |