Permalink
Commits on Mar 26, 2010
  1. v0.9.0

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

    defunkt committed Mar 26, 2010
  3. 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
  4. big release

    defunkt committed Mar 26, 2010
  5. Note on caching

    defunkt committed Mar 26, 2010
  6. some parser comments

    defunkt committed Mar 26, 2010
  7. 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
  7. ronn

    defunkt committed Mar 25, 2010
  8. v0.7.0

    defunkt committed Mar 25, 2010
Commits on Mar 18, 2010
  1. build:man => man:build

    defunkt committed Mar 18, 2010
  2. mention & in the manual

    defunkt committed Mar 18, 2010
Commits on Mar 13, 2010
  1. Provide mustache-mode so Emacs will load the mode without errors

    Kevin Ingolfsland committed with defunkt Mar 11, 2010
  2. hash.yml example

    defunkt committed Mar 13, 2010
Commits on Mar 11, 2010
  1. add a hash example

    defunkt committed Mar 11, 2010
  2. real example

    defunkt committed Mar 11, 2010