update jsdeferred
This commit is contained in:
parent
61a4e307eb
commit
79ed882157
@ -397,7 +397,7 @@ Deferred.postie_for_message_manager = function (manager) {
|
||||
var cb = {};
|
||||
var mm = [];
|
||||
|
||||
var postieId = parseInt(Math.random() * 65000) + Date.now();
|
||||
var postieId = Date.now() + ':' + parseInt(Math.random() * 65000);
|
||||
|
||||
var messageListener = function (message) {
|
||||
message = message.json;
|
||||
@ -498,4 +498,4 @@ Deferred.Deferred = Deferred;
|
||||
return [Deferred, timers];
|
||||
}
|
||||
|
||||
var [Deferred, timers] = D();
|
||||
var [Deferred, timers] = D();
|
Loading…
Reference in New Issue
Block a user