File manager - Edit - /usr/local/cpanel/base/sharedjs/cometd/TimeStampExtension.js
Back
/** * Dual licensed under the Apache License 2.0 and the MIT license. * $Revision$ $Date$ */ if (typeof dojo!="undefined") { dojo.provide("org.cometd.TimeStampExtension"); } /** * The timestamp extension adds the optional timestamp field to all outgoing messages. */ org.cometd.TimeStampExtension = function() { this.outgoing = function(message) { message.timestamp = new Date().toUTCString(); return message; }; };
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings