Permalink
Commits on Mar 27, 2010
  1. v0.9.1

    defunkt committed Mar 27, 2010
  2. Style tweaks

    defunkt committed Mar 27, 2010
  3. Adding test to ensure `id` resolves properly in a nested context.

    This test fails in v0.7.0.
    eric committed with defunkt Mar 27, 2010
Commits on Mar 26, 2010
  1. upgrading

    defunkt committed Mar 26, 2010
  2. README improvements

    defunkt committed Mar 26, 2010
  3. generated manual

    defunkt committed Mar 26, 2010
  4. update mustache(1) man page

    defunkt committed Mar 26, 2010
  5. v0.9.0

    defunkt committed Mar 26, 2010
  6. Remove tests for defunct methods

    defunkt committed Mar 26, 2010
  7. Sinatra 1.0 support

    Please note that the configuration options have changed! Previously
    you'd do something like this:
    
      set :namespace, Hurl
      set :views, "templates/"
      set :mustaches, "views/"
    
    Terribly confusing. Now you do this:
    
      set :mustache, {
        :namespace => Hurl,
        :views     => "views/",
        :templates => "templates/"
      }
    
    Here's how I upgraded the Sinatra example to use Sinatra 1.0 and this
    new version of Mustache:
    
    http://github.com/defunkt/mustache-sinatra-example/commit/6e0d207823a314190cdaf63c10a8d23effd6fd90
    
    Also note that layouts now work way better. If you view class is a
    subclass of your layout, the view will be used to render the layout's
    template. So you can override things in the layout:
    
        class Layout < Mustache
          def title
            "layout"
          end
        end
    
        class Index < Layout
          def title
            "index"
          end
        end
    
    In your layout.mustache:
    
        <html>
        <title>{{title}}</title>
        </html>
    
    Now, back in Sinatra land, calling this:
    
    mustache :index
    
    Will render this:
    
        <html>
        <title>index</title>
        </html>
    
    Enjoy.
    defunkt committed Mar 26, 2010
  8. big release

    defunkt committed Mar 26, 2010
  9. Note on caching

    defunkt committed Mar 26, 2010
  10. some parser comments

    defunkt committed Mar 26, 2010
  11. Some Generator comments

    defunkt committed Mar 26, 2010
Commits on Mar 25, 2010
  1. ? and ! can appear in tag names

    defunkt committed Mar 25, 2010
  2. {{{{invalid}}}}

    defunkt committed Mar 25, 2010
  3. Allow - in tag names

    defunkt committed Mar 25, 2010
  4. `mustache -t FILE` prints tokens

    defunkt committed Mar 25, 2010
  5. New parser.

    judofyr committed with defunkt Mar 25, 2010
  6. arg

    defunkt committed Mar 25, 2010