twitter/hogan.js — Issue #28: Server-side compiler chokes if client-side compiler is inlined
Author: MatthewMueller
Created: 2012-01-18 09:29:09+00:00
State: open

Okay, this is a bit crazy I admit... but basically the server-side compiler thinks there's a mustache variable because of the regex in the inline Hogan.js script on the client.

It would be nice if the compiler would ignore this, because then you can have the same templating engine on both the client and the server. For my purposes, this script must be inlined (and not external), so it'd be nice if this would be supported.