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

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -