UNPKG

dojo-util

Version:

Dojo utilities including build system for optimizing JavaScript application performance, and DOH testing tool

13 lines (11 loc) 373 B
function timestamp(){ // this function isn't really necessary... // just using it to show you can call a function to get a profile property value var d = new Date(); return d.getFullYear() + '-' + (d.getMonth()+1) + "-" + d.getDate() + "-" + d.getHours() + ':' + d.getMinutes() + ":" + d.getSeconds(); } var profile = { basePath:".", buildTimestamp:timestamp() };