source:
Dev/trunk/src/client/util/build/examples/profile-with-code.profile.js
Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago | |
---|---|
File size: 373 bytes |
Rev | Line | |
---|---|---|
[483] | 1 | function 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 | ||
9 | var profile = { | |
10 | basePath:".", | |
11 | buildTimestamp:timestamp() | |
12 | }; |
Note: See TracBrowser
for help on using the repository browser.