On Thu, Sep 6, 2012 at 5:49 AM, shaharke <sha...@bigpandamedia.com> wrote:
> I've noticed that Riak extends the basic javascript functionality to add
> syntactic-sugar functions on collections (e.g. forEach, filter, map etc.).
> Is it possible the Riak simply uses the underscore.js library? If not, where
> can I find a reference with all available functions?

Hi, Shahar. The Javascript functions included with Riak are defined in
a file named "mapred_builtins.js":
https://github.com/basho/riak_kv/blob/master/priv/mapred_builtins.js

The functions in json2.js from the erlang_js project are also
included: https://github.com/basho/erlang_js/blob/master/priv/json2.js

-Bryan

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to