summaryrefslogtreecommitdiff
path: root/lib/dojo/promise/Promise.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-18 07:32:28 +0300
committerAndrew Dolgov <[email protected]>2021-11-18 07:32:28 +0300
commit63ec5a89657bb7f9650582b96e0bb255a0889b48 (patch)
tree074b61eedd7304ba1d8d7deec01d26973ef8e6b8 /lib/dojo/promise/Promise.js
parent3a3fde1a2e0beac6d179c6449eaad726100710d7 (diff)
parent2d830c6281c19a7ee29cd379f5aedc82deef3775 (diff)
Merge branch 'wip-phpstan-level6'
Diffstat (limited to 'lib/dojo/promise/Promise.js')
-rw-r--r--lib/dojo/promise/Promise.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dojo/promise/Promise.js b/lib/dojo/promise/Promise.js
index 7b62cdd43..322987732 100644
--- a/lib/dojo/promise/Promise.js
+++ b/lib/dojo/promise/Promise.js
@@ -5,4 +5,4 @@
*/
//>>built
-define("dojo/promise/Promise",["../_base/lang"],function(_1){"use strict";function _2(){throw new TypeError("abstract");};return _1.extend(function Promise(){},{then:function(_3,_4,_5){_2();},cancel:function(_6,_7){_2();},isResolved:function(){_2();},isRejected:function(){_2();},isFulfilled:function(){_2();},isCanceled:function(){_2();},always:function(_8){return this.then(_8,_8);},"catch":function(_9){return this.then(null,_9);},otherwise:function(_a){return this.then(null,_a);},trace:function(){return this;},traceRejected:function(){return this;},toString:function(){return "[object Promise]";}});}); \ No newline at end of file
+define("dojo/promise/Promise",["../_base/lang"],function(_1){"use strict";function _2(){throw new TypeError("abstract");};return _1.extend(function Promise(){},{then:function(_3,_4,_5){_2();},cancel:function(_6,_7){_2();},isResolved:function(){_2();},isRejected:function(){_2();},isFulfilled:function(){_2();},isCanceled:function(){_2();},"finally":function(_8){return this.then(function(_9){var _a=_8();if(_a&&typeof _a.then==="function"){return _a.then(function(){return _9;});}return _9;},function(_b){var _c=_8();if(_c&&typeof _c.then==="function"){return _c.then(function(){throw _b;});}throw _b;});},always:function(_d){return this.then(_d,_d);},"catch":function(_e){return this.then(null,_e);},otherwise:function(_f){return this.then(null,_f);},trace:function(){return this;},traceRejected:function(){return this;},toString:function(){return "[object Promise]";}});}); \ No newline at end of file