update jsdeferred

This commit is contained in:
Piro / SHIMODA Hiroshi 2011-03-04 03:45:45 +09:00
parent 61a4e307eb
commit 79ed882157

View File

@ -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();