update files

This commit is contained in:
nuintun
2015-11-26 11:45:31 +08:00
parent 93b8d9342b
commit 8d2af4a433
14 changed files with 178 additions and 82 deletions

View File

@@ -5,6 +5,9 @@
'use strict';
module.exports = function (Terminal){
/**
* log
*/
Terminal.prototype.log = function (){
if (!this.debug) return;
@@ -15,6 +18,9 @@ module.exports = function (Terminal){
window.console.log.apply(window.console, args);
};
/**
* error
*/
Terminal.prototype.error = function (){
if (!this.debug) return;