Commit Graph

4 Commits

Author SHA1 Message Date
David Greenspan
ccfbb2910d Make HTML.Visitor stack traces better in Chrome 2014-06-24 00:27:34 -07:00
David Greenspan
fc64081c52 Move Spacebars compiler to SpacebarsCompiler
The pattern of one package defining Spacebars and another augmenting it with methods like Spacebars.parse is too confusing.

The symbols `parse`, `compile`, `TemplateTag` are now on `SpacebarsCompiler`.  You can now access `SpacebarsCompiler.optimize`, and we can start exposing more symbols.
2014-04-24 13:23:01 -07:00
David Greenspan
5daecb549e Comments 2014-04-24 12:33:19 -07:00
David Greenspan
d96ee0eab2 Rewrite Spacebars optimizer to use Visitors 2014-04-24 12:24:03 -07:00