You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
245 B
JavaScript
9 lines
245 B
JavaScript
15 years ago
|
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
|
||
|
});
|