google closure - Run javascript at plovr compile-time -
is possible run javascript @ compile time using plovr? (perhaps defining variable in config file).
for example, function returns time script compiled, this:
function compiledat(){ return #date.now(); // #date.now() processed @ compile-time }
so after compilation, this:
function compiledat(){ return 1374580397271; }
a few months later, can update not possible using javascript , plovr.
other options include:
- a script makes replace , runs plover
- a customer compiler pass in google closure
Comments
Post a Comment