rtomayko/tilt — pull request #118 by slivu (2011-11-30 19:52:03+00:00)
Title: get/set precompiled source/offset

hello.

added #precompile to get compiled template and offset.
then, on engine initialization, if passed block returns an array, it
will be used as precompiled/offset.

useful on caching scenarios, when template should be compiled and stored as string,
then later rendered by another engine instance without being complied.

in case my changes does not look suitable, maybe other ideas how to accomplish this?

thank you.