Commit b452c89d authored by Alex Navasardyan's avatar Alex Navasardyan

replacing Promise.prototype with this to support inheritance

parent 23828f6a
...@@ -123,7 +123,7 @@ Promise.prototype = { ...@@ -123,7 +123,7 @@ Promise.prototype = {
}, },
fail: function(fail) { fail: function(fail) {
return Promise.prototype.then.call(this, null, fail); return this.then.call(this, null, fail);
} }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment