aboutsummaryrefslogtreecommitdiff
path: root/src/utility.js
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-09-21 20:38:37 -0700
committeralon@honor <none@none>2010-09-21 20:38:37 -0700
commit427206373413805fef3c56915fa6e1ac9dd93627 (patch)
tree1c19679707ba330607b19806c60b099cd412fdbc /src/utility.js
parentab582256db454b3ccab074058941311845746f8b (diff)
fix some relooper bugs, and EXECUTION_TIMEOUT setting for debugging such problems
Diffstat (limited to 'src/utility.js')
-rw-r--r--src/utility.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utility.js b/src/utility.js
index 2cce3f4c..e4f20b7e 100644
--- a/src/utility.js
+++ b/src/utility.js
@@ -80,6 +80,7 @@ function range(size) {
}
function searchable() {
+ if (typeof arguments[0] === 'object') arguments = arguments[0];
var ret = {};
for (var i = 0; i < arguments.length; i++) {
ret[arguments[i]] = 0;