mirror of
https://github.com/nuintun/command-manager.git
synced 2025-12-15 23:30:48 +08:00
update files
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user