Add dependency for dependecies on sub getIRQueue
This commit is contained in:
parent
8f21f87fd9
commit
0f6bf30228
2 changed files with 23 additions and 4 deletions
|
@ -149,6 +149,10 @@ var Promise = (function() {
|
|||
},
|
||||
|
||||
then: function(callback) {
|
||||
if (!callback) {
|
||||
throw "Requiring callback" + this.name;
|
||||
}
|
||||
|
||||
// If the promise is already resolved, call the callback directly.
|
||||
if (this.isResolved) {
|
||||
var data = this.data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue