fix %r. remove comment.
This commit is contained in:
parent
629995a669
commit
76fa728a89
|
@ -880,7 +880,6 @@ Tput.prototype._compile = function(val) {
|
|||
if (this.termcap) {
|
||||
// %r Single parameter capability
|
||||
if (read(/^%r/)) {
|
||||
expr('()');
|
||||
continue;
|
||||
}
|
||||
// %+ Add value of next character to this parameter and do binary output
|
||||
|
@ -951,8 +950,6 @@ Tput.prototype._parsePadding = function(code, print, done) {
|
|||
var parts = code.split(/(?=\$<\d+[*\/]{0,2}>)/)
|
||||
, i = 0;
|
||||
|
||||
// if (!parts[0]) parts.shift();
|
||||
|
||||
(function next() {
|
||||
if (i === parts.length) {
|
||||
return done();
|
||||
|
|
Loading…
Reference in New Issue