All Downloads are FREE. Search and download functionalities are using the official Maven repository.

js.dojox.cometd.timestamp.js Maven / Gradle / Ivy

Go to download

A Mule transport for receiving and dispatching AJAX events using Cometd (Bayeux)

There is a newer version: 3.9.0
Show newest version
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});

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy