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…
Reference in New Issue