mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-24 01:38:54 +00:00
Merge pull request #22 from naggie/master
add var self = this to progress bar
This commit is contained in:
commit
42291fad3b
@ -4853,6 +4853,8 @@ Button.prototype.press = function() {
|
||||
*/
|
||||
|
||||
function ProgressBar(options) {
|
||||
var self = this;
|
||||
|
||||
if (!(this instanceof Node)) {
|
||||
return new ProgressBar(options);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user