summaryrefslogtreecommitdiff
path: root/setup.js
diff options
context:
space:
mode:
authorKumar Saarang Singh2016-06-14 17:14:17 +0530
committerGitHub2016-06-14 17:14:17 +0530
commitdb48355865c320eccf90a2b0dbb26e3427f55fa9 (patch)
treebda811f76da71b5c29b44120e0b628f4d670e703 /setup.js
parentee967e489fd0ab13bc0bff313f2b57fc0f4ad83e (diff)
downloadxcos-on-web-db48355865c320eccf90a2b0dbb26e3427f55fa9.tar.gz
xcos-on-web-db48355865c320eccf90a2b0dbb26e3427f55fa9.tar.bz2
xcos-on-web-db48355865c320eccf90a2b0dbb26e3427f55fa9.zip
Update setup.js
Diffstat (limited to 'setup.js')
-rw-r--r--setup.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup.js b/setup.js
index ba6074f..74271fb 100644
--- a/setup.js
+++ b/setup.js
@@ -8,6 +8,8 @@ var maxIntegrationTimeInterval = 1.00001E05;
var solver = 0.0;
var defaultProperties = null;
+var expressionArray = [""];
+
var solver_kind_array = ["LSodar", "Sundials/CVODE - BDF - NEWTON",
"Sundials/CVODE - BDF - FUNCTIONAL",
"Sundials/CVODE - ADAMS - NEWTON",
@@ -46,12 +48,10 @@ function setup() {
}
}
-var expressionArray = [""];
-
function context() {
if (arguments[0] == "get") {
return expressionArray;
} else if (arguments[0] == "set") {
expressionArray = arguments[1];
}
-} \ No newline at end of file
+}