mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
* Remove old dependency
* Add string-format dep. * Convert various strUtil.format() -> String.prototype.format() based system
This commit is contained in:
parent
140990811a
commit
ede00f8937
7 changed files with 57 additions and 32 deletions
|
@ -85,10 +85,10 @@ function prepareTerminal(term) {
|
|||
|
||||
function displayBanner(term) {
|
||||
// :TODO: add URL(s) to banner
|
||||
term.pipeWrite(util.format(
|
||||
'|33Conected to |32EN|33|01i|00|32|22GMA|32|01½|00 |33BBS version|31|01 %s\n' +
|
||||
term.pipeWrite(
|
||||
('|33Conected to |32EN|33|01i|00|32|22GMA|32|01½|00 |33BBS version|31|01 {0}\n' +
|
||||
'|00|33Copyright (c) 2014-2015 Bryan Ashby |33|01- |31|01http://l33t.codes/\n' +
|
||||
'|00', packageJson.version));
|
||||
'|00').format(packageJson.version));
|
||||
}
|
||||
|
||||
function connectEntry(client) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue