You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ripple.apache.org by gt...@apache.org on 2013/03/11 16:11:06 UTC

[3/50] [abbrv] git commit: Added call to console.clear after boot

Added call to console.clear after boot

This was done to remove any console logs that show up
before Ripple is fully booted and can be confusing to the
developer.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ripple/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ripple/commit/f8010491
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ripple/tree/f8010491
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ripple/diff/f8010491

Branch: refs/heads/master
Commit: f801049156b1753f88e92eedf781df17fe47364e
Parents: bc8906e
Author: Dan Silivestru <da...@gmail.com>
Authored: Thu Jan 17 10:53:37 2013 -0500
Committer: Dan Silivestru <da...@gmail.com>
Committed: Thu Jan 17 10:53:37 2013 -0500

----------------------------------------------------------------------
 lib/client/bootstrap.js |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ripple/blob/f8010491/lib/client/bootstrap.js
----------------------------------------------------------------------
diff --git a/lib/client/bootstrap.js b/lib/client/bootstrap.js
index 4e3f545..a48e071 100644
--- a/lib/client/bootstrap.js
+++ b/lib/client/bootstrap.js
@@ -110,9 +110,10 @@ function _post(src) {
 }
 
 function _bootstrap() {
-    // TODO: figure this out for web and ext
-    //_console.log("-----------------------------------------------------------");
-    //_console.log("There be dragons above here!");
+    if (console.clear) {
+        console.clear();
+    }
+
     _console.log("Ripple :: Environment Warming Up (Tea. Earl Gray. Hot.)");
 
     window.tinyHippos = ripple('index');