From 86b666348569dbaf04189643bb33cd724c098787 Mon Sep 17 00:00:00 2001 From: Alice Harris Date: Tue, 2 Sep 2014 13:47:57 +1000 Subject: [PATCH] merge change for predictableRandom(options?.seed) --- script/index.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/index.coffee b/script/index.coffee index dd8a8203b7..a49d4cd8e9 100644 --- a/script/index.coffee +++ b/script/index.coffee @@ -990,7 +990,7 @@ api.wrap = (user, main=true) -> ### randomVal: (obj, options) -> array = if options?.key then _.keys(obj) else _.values(obj) - rand = user.fns.predictableRandom(option?.seed) + rand = user.fns.predictableRandom(options?.seed) array[Math.floor(rand * array.length)] ###