diff --git a/modules/lib/jsdeferred.js b/modules/lib/jsdeferred.js index 469b0c2e..123078c1 100644 --- a/modules/lib/jsdeferred.js +++ b/modules/lib/jsdeferred.js @@ -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(); \ No newline at end of file