Completed workshop

This commit is contained in:
Devine Lu Linvega
2019-07-25 14:39:08 +09:00
parent 487318d37d
commit b7c0cf87b8
2 changed files with 100 additions and 4 deletions

View File

@@ -61,7 +61,9 @@ function Ronin () {
}
this.log = function (...msg) {
this.commander.setStatus(msg.reduce((acc, val) => { return acc + val + ' ' }, ''))
this.commander.setStatus(msg.reduce((acc, val) => {
return acc + JSON.stringify(val).replace(/\"/g,'').trim() + ' '
}, ''))
}
this.load = function (content = this.default()) {