summaryrefslogtreecommitdiff
path: root/details.js
diff options
context:
space:
mode:
authorChhavi2016-07-07 10:38:17 +0000
committerChhavi2016-07-07 10:38:17 +0000
commit5cbc2420fa4ff735a80f9d50dabd6badf30c8b7c (patch)
treec99771bd0feabddea5a817733ebd356d37ee84e8 /details.js
parent4b16f8fd33f8edd656c76dfcd4bf9fb3cb04666c (diff)
downloadxcos-on-web-5cbc2420fa4ff735a80f9d50dabd6badf30c8b7c.tar.gz
xcos-on-web-5cbc2420fa4ff735a80f9d50dabd6badf30c8b7c.tar.bz2
xcos-on-web-5cbc2420fa4ff735a80f9d50dabd6badf30c8b7c.zip
Updated sci2exp
Diffstat (limited to 'details.js')
-rw-r--r--details.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/details.js b/details.js
index b6b8e0c..452d336 100644
--- a/details.js
+++ b/details.js
@@ -564,12 +564,12 @@ function sci2exp(c) {
return "list()";
}
} else if (typeof c.length === "undefined") {
- return c.toString();
+ return _check(c);
} else if (c.length == 0) {
return "[]";
- } else if (c.length == 1)
- return c.toString();
- else {
+ } else if (c.length == 1) {
+ return _check(c[0]);
+ } else {
var result = "[";
for (var i = 0; i < c.length; i++) {
if (typeof c[i].length === 'undefined') {