Commits

Kevin Smith  committed c3b3c9c

Adding mrstress module to js_data;Removing unnecessary list->binary conversion

  • Participants
  • Parent commits 1f356cc

Comments (0)

Files changed (2)

File apps/js_data/ebin/js_data.app

 {application, js_data,
  [{description,  "Blub"},
   {vsn,          "0.1"},
-  {modules,      [jsd_generator]},
+  {modules,      [jsd_generator, mrstress]},
   {registered,   []},
   {applications, [kernel, stdlib]}]}.

File apps/riak/src/riak_js.erl

     MD5 = erlang:md5(F),
     {Continue, NewCSums} = case needs_defining(CSums, FunName, MD5) of
                                true ->
-                                   F1 = list_to_binary(["var ", FunName, "=", F]),
+                                   F1 = list_to_binary([<<"var ">>, FunName, <<"=">>, F]),
                                    case js:define(JsCtx, F1) of
                                        ok ->
                                            {ok, dict:store(FunName, MD5, CSums)};