e44a7e37b6
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@151 b3834d28-1941-0410-a4f8-b48e95affb8f
9 lines
422 B
JavaScript
9 lines
422 B
JavaScript
if(!dojo._hasResource["dojox.cometd.timestamp"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
|
|
dojo._hasResource["dojox.cometd.timestamp"] = true;
|
|
dojo.provide("dojox.cometd.timestamp");
|
|
dojo.require("dojox.cometd");
|
|
|
|
// A cometd extension that adds a timestamp to every message
|
|
dojox.cometd._extendOutList.push(function(msg){msg.timestamp=new Date().toUTCString();return msg});
|
|
|
|
}
|