Switch to sys.puts for all output for now, leaving browser compatibility for the moment.

Fri, 19 Nov 2010 03:48:41 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 19 Nov 2010 03:48:41 +0000
changeset 68
5b815d3591e2
parent 67
782274d793ac
child 69
26ee626eda90

Switch to sys.puts for all output for now, leaving browser compatibility for the moment.

lvm.js file | annotate | diff | comparison | revisions
--- a/lvm.js	Fri Nov 19 03:48:04 2010 +0000
+++ b/lvm.js	Fri Nov 19 03:48:41 2010 +0000
@@ -589,8 +589,8 @@
 }
 catch(e)
 {
-	print("Error: " + e);
+	sys.puts("Error: " + e);
 	if(typeof(e) == "object" && "stack" in e)
-		print(e.stack);
+		sys.puts(e.stack);
 	process.exit(1);
 }

mercurial