Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 18, 2012
  1. @tj

    Release 0.25.0

    tj authored
  2. @tj

    docs for mixins

    tj authored
  3. @tj

    Added preliminary mixin block support. Closes #310

    tj authored
    and the new + mixin invocation syntax
    to disambiguate between calling and defining
  4. @tj

    ocd

    tj authored
  5. @tj

    refactor benchmarks with self run

    tj authored
  6. @tj

    large bm with self

    tj authored
    even though there are no locals here
    with(){} still sucks ass
  7. @tj

    Merge branch 'integration'

    tj authored
  8. @tj

    medium bench

    tj authored
  9. @tj

    misc

    tj authored
  10. @tj

    refactored tag.js

    tj authored
  11. @tj

    refactored filter.js

    tj authored
  12. @tj

    refactoring compiler

    tj authored
  13. @chowey @tj

    Revert whitespace change

    chowey authored tj committed
  14. @chowey @tj

    Fix weird bug for `compileDebug:false` and `each`

    chowey authored tj committed
    This showed up while I tried to test performance for compileDebug:false
    
    Apparently this would break jade:
    
    ```
    - var items = [1, 2, 3]
    each item, key in items
      p item
    ```
    
    because the `var items = [1, 2, 3]` is missing a semi-colon at the end, and jade inserts `(function(){...` after, which does not parse.
  15. @chowey @tj

    Update tests

    chowey authored tj committed
    A lot of tests have changed because they now render nice beautiful blocks.
    
    Also, inline text and tags work nicely together.
  16. @chowey @tj

    Get tests to work

    chowey authored tj committed
    Getting blocks to work consistently:
    
    * We removed the Node.getType, and use Text.isText
    
    * We don't use inline-style for text blocks, we do block-style.
    
    * We remove Tag.isText and use Tag.canInline instead (handles name conflict with Text.isText)
    
    * We put Tag.isInline logic into Tag node, not compiler
    
    Making Filters work:
    
    * With the Text node refactoring, we update filters to work with the new style
    
    * We update Filter.isASTFilter to not trigger for Text-only blocks
  17. @chowey @tj

    Refactor all text entities to be text nodes

    chowey authored tj committed
    Previously we had several ways text was stored:
    
    * As a property on a Tag node
    * As multiple nodes in a Text node
    * As multiple Text nodes in a Block node
    
    We have decided upon simplifying the Text node to just being a piece of text.
    
    Multiple lines of text become multiple Text nodes in a Block.
    
    There is no more text property in the Tag node.
    
    And pretty printing for Text blocks is also supported now.
  18. @chowey @tj

    Remove (not just comment out) lines

    chowey authored tj committed
  19. @chowey @tj

    Move newline logic for text blocks from parser to compiler

    chowey authored tj committed
  20. @tj

    added large benchmark

    tj authored
Commits on Apr 17, 2012
  1. @tj

    build

    tj authored
  2. @tj

    java implemenetation

    tj authored
Commits on Apr 15, 2012
  1. @tj
  2. @tj

    Merge pull request #591 from chowey/patch-4

    tj authored
    Improve performance of pretty mixins
Commits on Apr 14, 2012
  1. @tj

    remove jade manpage

    tj authored
  2. @chowey

    Improve performance of pretty mixins

    chowey authored
    The recent addition of pretty mixins degraded performance noticably for options like "compileDebug: false" or "self: true".
    
    Now we only adjust the compiled jade where mixins are actually being called.
    
    The performance when no mixins are present is now comparable to before.
Commits on Apr 13, 2012
  1. @tj
  2. @chowey @tj

    Use "pretty" for mixins

    chowey authored tj committed
    Modifies approach to compiled jade by indenting on-the-fly.  This is needed in order to correctly render spacing for mixins.
    
    Previously mixin spacing was hard-coded.
  3. @chowey @tj

    Fix accidental html-level indent

    chowey authored tj committed
  4. @chowey @tj

    Pretty pretty print for pretty mixins

    chowey authored tj committed
  5. @tj

    Merge pull request #586 from pgherveou/master

    tj authored
    update doc replace include by extends for block features
Commits on Apr 12, 2012
  1. @pgherveou

    Update Readme.md

    pgherveou authored
  2. @tj

    history

    tj authored
  3. @tj
  4. @tj

    Release 0.24.0

    tj authored
Something went wrong with that request. Please try again.