From 24dae23c853628cc73f3833743a86783d01d4ae9 Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Thu, 5 Mar 2015 15:10:13 -0800 Subject: [PATCH] PCjs CLI needs to provide console overrides for more Component functions --- modules/pcjs/bin/pcjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pcjs/bin/pcjs b/modules/pcjs/bin/pcjs index a7a4b466a..0a5d32fdf 100644 --- a/modules/pcjs/bin/pcjs +++ b/modules/pcjs/bin/pcjs @@ -115,7 +115,7 @@ function loadComponents(asFiles) } } if (sName == "component") { - fn.println = function(s, type) { + fn.log = fn.println = function(s, type) { console.log((type !== undefined? (type + ": ") : "") + (s || "")); }; // jshint ignore:line }