root / trunk / web / dojo / dojox / cometd / timestamp.js @ 11
History | View | Annotate | Download (476 Bytes)
1 | 9 | andrej.cim | /*
|
---|---|---|---|
2 | Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
|
||
3 | Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||
4 | see: http://dojotoolkit.org/license for details
|
||
5 | */
|
||
6 | |||
7 | |||
8 | if(!dojo._hasResource["dojox.cometd.timestamp"]){ |
||
9 | dojo._hasResource["dojox.cometd.timestamp"]=true; |
||
10 | dojo.provide("dojox.cometd.timestamp");
|
||
11 | dojo.require("dojox.cometd._base");
|
||
12 | dojox.cometd._extendOutList.push(function(_1){
|
||
13 | _1.timestamp=new Date().toUTCString();
|
||
14 | return _1;
|
||
15 | }); |
||
16 | } |