| 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 | }; |