Merge pull request #22 from naggie/master

add var self = this to progress bar
This commit is contained in:
Christopher Jeffrey 2014-01-01 19:54:56 -08:00
commit 42291fad3b
1 changed files with 2 additions and 0 deletions

View File

@ -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);
} }