cacert-testmgr/external/ZendFramework-1.9.5/externals/dojo/dojox/cometd/timestamp.js
Markus Warg 8398c9048d initially import ZendFramework-1.9.5 into repository
code was modified slightly, so the code differs from the original downloadable 1.9.5 version
2010-03-31 10:12:32 +02:00

8 lines
245 B
JavaScript

dojo.provide("dojox.cometd.timestamp");
dojo.require("dojox.cometd._base");
// A cometd extension that adds a timestamp to every message
dojox.cometd._extendOutList.push(function(msg){
msg.timestamp = new Date().toUTCString();
return msg
});