mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-11 11:34:20 +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) {
|
function ProgressBar(options) {
|
||||||
|
var self = this;
|
||||||
|
|
||||||
if (!(this instanceof Node)) {
|
if (!(this instanceof Node)) {
|
||||||
return new ProgressBar(options);
|
return new ProgressBar(options);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user