aboutsummaryrefslogtreecommitdiffstats
path: root/javascript
diff options
context:
space:
mode:
authorJeffrey Wilcke <obscuren@users.noreply.github.com>2014-10-17 23:26:04 +0800
committerJeffrey Wilcke <obscuren@users.noreply.github.com>2014-10-17 23:26:04 +0800
commitabdf5e76f3bedf3ce8377fc8edd7e9145586cfb5 (patch)
treeaa9c24d35460168528f1b46f585ac5374b987203 /javascript
parent03fd832ee88cae2fb9e54dd9c3ea60eeb836e389 (diff)
parent7227552f429e6ad035b22167d667712e61fcebbb (diff)
downloaddexon-abdf5e76f3bedf3ce8377fc8edd7e9145586cfb5.tar
dexon-abdf5e76f3bedf3ce8377fc8edd7e9145586cfb5.tar.gz
dexon-abdf5e76f3bedf3ce8377fc8edd7e9145586cfb5.tar.bz2
dexon-abdf5e76f3bedf3ce8377fc8edd7e9145586cfb5.tar.lz
dexon-abdf5e76f3bedf3ce8377fc8edd7e9145586cfb5.tar.xz
dexon-abdf5e76f3bedf3ce8377fc8edd7e9145586cfb5.tar.zst
dexon-abdf5e76f3bedf3ce8377fc8edd7e9145586cfb5.zip
Merge pull request #138 from erezwanderman/fixwindows
Fix ethereum compilation and functioning on Windows.
Diffstat (limited to 'javascript')
-rw-r--r--javascript/js_lib.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/javascript/js_lib.go b/javascript/js_lib.go
index a3e9b8a5b..dd1fe5f4d 100644
--- a/javascript/js_lib.go
+++ b/javascript/js_lib.go
@@ -44,9 +44,11 @@ function pp(object) {
function prettyPrint(/* */) {
var args = arguments;
+ var ret = "";
for(var i = 0, l = args.length; i < l; i++) {
- console.log(pp(args[i]))
+ ret += pp(args[i]) + "\n";
}
+ return ret;
}
var print = prettyPrint;