twitter/hogan.js — Issue #19: Improve docs: precompile for serverside js
Author: grobmeier
Created: 2012-01-02 11:46:38+00:00
State: open

Compiling templates on the server (via Java SCriptEngine for example) returns an object. How can that object be transferred to the client? JSON.stringfy?

Wouldn't it benefital just to transfer the generated code to the client?
This can't be done atm