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:

  1. a script makes replace , runs plover
  2. a customer compiler pass in google closure

Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -