zeh/schizo.js — pull request #1 by millermedeiros (2012-10-19 04:23:43+00:00)
Title: Change logic to use Mustache templates and avoid repeated checks

I saw the note about that not being the objective but I couldn't sleep so decided to do it.

I tried to keep the same branching logic as before (all the if/else) since I agree that it is indeed more flexible and easier to edit. I also kept the comments and added a couple more.

The external template files are inlined during build (run `node build`). Before I had it inside `