aboutsummaryrefslogtreecommitdiff
path: root/src/utility.js
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-08-29 17:36:10 -0700
committeralon@honor <none@none>2010-08-29 17:36:10 -0700
commitc203d5c8e027a2cf0bea23540fc0edf93e4e37eb (patch)
tree8b178ae06879148978c6052fd2bb9ecd5caf8037 /src/utility.js
parentee99b2e41f47cdaa71fa9b16bdead0a95b928af2 (diff)
fix for 'sret' & other GEP features
Diffstat (limited to 'src/utility.js')
-rw-r--r--src/utility.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utility.js b/src/utility.js
index f95e81f1..94a2132a 100644
--- a/src/utility.js
+++ b/src/utility.js
@@ -1,7 +1,7 @@
function dump(item) {
try {
- return JSON.stringify(item);
+ return JSON.stringify(item).substr(0,200);
} catch(e) {
var ret = [];
for (var i in item) {
@@ -12,7 +12,7 @@ function dump(item) {
ret.push(i + ': [?]');
}
}
- return ret.join(', ');
+ return ret.join(', ').substr(0,200);
}
}