summaryrefslogtreecommitdiff
path: root/share/server/state.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/server/state.js')
-rw-r--r--share/server/state.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/server/state.js b/share/server/state.js
index 05c55a1b..6c7d63b9 100644
--- a/share/server/state.js
+++ b/share/server/state.js
@@ -13,12 +13,14 @@
// globals used by other modules and functions
var funs = []; // holds functions used for computation
var funsrc = []; // holds function source for debug info
+var query_config = {};
var State = (function() {
return {
- reset : function() {
+ reset : function(config) {
// clear the globals and run gc
funs = [];
funsrc = [];
+ query_config = config;
gc();
print("true"); // indicates success
},