source: Dev/branches/rest-dojo-ui/client/util/build/examples/profile-with-code.profile.js @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 373 bytes
Line 
1function timestamp(){
2        // this function isn't really necessary...
3        // just using it to show you can call a function to get a profile property value
4        var d = new Date();
5        return d.getFullYear() + '-' + (d.getMonth()+1) + "-" + d.getDate() + "-" +
6                d.getHours() + ':' + d.getMinutes() + ":" + d.getSeconds();
7}
8
9var profile = {
10        basePath:".",
11        buildTimestamp:timestamp()
12};
Note: See TracBrowser for help on using the repository browser.