penguin/AstroJS

Javascript framework for my blog

commit 54475422a0d42370ad69419445272d49ad442c12

author斟酌 鵬兄 <tgckpg@gmail.com>
date2016-03-28T19:48:44Z
subjectusing rest args
commit 54475422a0d42370ad69419445272d49ad442c12
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date:   2016-03-28T19:48:44Z

    using rest args
---
 botanjs/src/System/Debug.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/botanjs/src/System/Debug.js b/botanjs/src/System/Debug.js
index 018da5c..4820769 100644
--- a/botanjs/src/System/Debug.js
+++ b/botanjs/src/System/Debug.js
@@ -14,10 +14,10 @@
 		Log.writeLine( e.name + "\n\t" + e.message + "\n\t" + e.stack, Log.ERROR );
 	};
 
-	var Info = function(e)
+	var Info = function()
 	{
 		if( st_info )
-		Log.writeLine( e, Log.INFO );
+		Log.writeLine( Array.prototype.join.call( arguments, " " ), Log.INFO );
 	};
 
 	var turnOff = function( what )