Fixed style of status
This commit is contained in:
@@ -76,7 +76,7 @@ function Commander (ronin) {
|
||||
// console.log(msg)
|
||||
}
|
||||
// Source
|
||||
const _source = `${ronin.source} ${this._input.value.split('\n').length} lines`
|
||||
const _source = `${ronin.source}[${this._input.value.split('\n').length}]`
|
||||
if (_source !== this._source.textContent) {
|
||||
this._source.textContent = _source
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ function Source (ronin) {
|
||||
}
|
||||
|
||||
this.toString = function () {
|
||||
return this.path ? this.name() + '.lisp' : 'unsaved'
|
||||
return this.path ? this.name() + '.lisp' : '*new'
|
||||
}
|
||||
|
||||
function isDifferent (a, b) {
|
||||
|
||||
Reference in New Issue
Block a user