Closed handerpeder closed 11 years ago
Allows fns argument to be passed by symbol, ie:
(view-server-fns :javascript {:confirmed {:map "function(doc) { emit(doc._id, doc); }"}}))
works now, but
(def my-map {:confirmed {:map "function(doc) { emit(doc._id, doc); }"}}) (view-server-fns :javascript my-map)
does not. Unquoting should not be a problem since a map evaluates to itself.
Allows fns argument to be passed by symbol, ie:
works now, but
does not. Unquoting should not be a problem since a map evaluates to itself.