aboutsummaryrefslogtreecommitdiff
path: root/src/utility.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-20 13:30:41 +0100
committerAlon Zakai <alonzakai@gmail.com>2012-11-20 13:30:41 +0100
commit165962f18b43f4893d1941a847a4b22c6d089532 (patch)
treeb39d20c50fc445a2df9815d23f78b92d2bb4e10a /src/utility.js
parent55f68854352ca06b7f6415b9fb350c92c30ec9d4 (diff)
switch dpring to stderr
Diffstat (limited to 'src/utility.js')
-rw-r--r--src/utility.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utility.js b/src/utility.js
index 632ee08c..f3ece90b 100644
--- a/src/utility.js
+++ b/src/utility.js
@@ -184,7 +184,7 @@ function dprint() {
text = text(); // Allows deferred calculation, so dprints don't slow us down when not needed
}
text = DPRINT_INDENT + '// ' + text;
- print(text);
+ printErr(text);
}
var PROF_ORIGIN = Date.now();