Permalink
Commits on May 9, 2012
  1. Can now add classes and ids to function output (solves issue #9)

    Functions are now passed the id and class attributes in special `this` Object, which may contains id and classes properties. If the first child node in the function is a tag, the id and class attributes will automatically merge with that first node. This feature makes compiled functions a bit more complex, since they have to check the value of `this.id` and `this.classes` on each call.
    Fixed a bug in the runtime attrs function
    Added another test case
    Push to version 0.9.2
    committed May 9, 2012
  2. New runtime build

    committed May 9, 2012
  3. Lots of bugfixes

    Added more test cases
    Fixed bug in test.js to copy locals first
    Put util.inspect back into the compiler for AST display
    Added bladeutil.quote function to escape single quotes in a string
    Fixed a bug to allow attribute values with single quotes
    Fixed a bug to ensure a newline is prepended if the current node and last node was a text node or a filtered_text node
    Fixed comments within comments. Now a comment within another comment will render strangely, but it will allow the document to render propertly and validate.
    Fixed a bug with nl2br text filter
    Fixed a bug with block definitions
    Push to version 0.9.1
    committed May 9, 2012
  4. Added /dist directory, which includes runtime.js for browsers (solves…

    … issue #2)
    
    Removed node libraries from lib/compiler.js
    Updated docs because compiler will not work on the browser at this time
    Push to version 0.9.0
    committed May 9, 2012
  5. Added Blade middleware for client-side templates (solves issue #3)

    Updated runtime to work nicely with middleware (solves issue #2)
    Remove try, catch block from runtime
    Added .gitignore to ignore node_modules
    committed May 9, 2012
  6. Push to version 0.8.0

    committed May 9, 2012
  7. Implemented variable interpolation for text blocks (fixes issue #6)

    Moved 'code' node compiling section down to avoid confusion
    Updated parser to allow empty lines of text in a text block
    Cleaned up line breaks
    Super tiny change to runtime.js
    Fixed bug in test suite
    committed May 9, 2012
Commits on May 8, 2012
  1. Updated docs

    committed May 8, 2012
  2. Updated docs

    committed May 8, 2012
  3. Updated docs

    committed May 8, 2012
  4. Updated docs

    committed May 8, 2012
  5. Add support for functions and function calls (solves issue #1)

    One can include arbitrary files based on a variable name at runtime (solves issue #8)
    Render calls with empty argument list are permitted now
    Push to version 0.7.0
    committed May 8, 2012
  6. Added `filename` property to the compiled template wrapper function

    Added more documentation
    Cleanup doctypes file
    committed May 8, 2012
  7. Fixed a bug parsing attribute values

    Parser can now parsed quoted strings with escape characters
    Push to 0.6.1
    committed May 8, 2012
  8. Push to version 0.6

    committed May 8, 2012
  9. Tag attributes can now be separated by whitespace, commas, or newlines

    Tag attribute values can now be a quoted string (value) or JavaScript code, as long as it doesn't contain any whitespace, commas, newlines, or parentheses
    committed May 8, 2012
  10. Push to version 0.5.2

    committed May 8, 2012
  11. Fixed error handling and reporting

    Changed behavior of runtime.rethrow method to return the error object instead of throwing it
    committed May 8, 2012
Commits on May 6, 2012
  1. Push to 0.5.1

    committed May 6, 2012
Commits on May 5, 2012
  1. Updated docs

    committed May 5, 2012
  2. Updated docs

    committed May 5, 2012
  3. Updated docs

    committed May 5, 2012
  4. Updated docs

    committed May 5, 2012
  5. Updated docs

    committed May 5, 2012
Commits on May 4, 2012
  1. Updated docs again

    committed May 4, 2012
  2. Updated docs

    committed May 4, 2012
  3. Updated docs

    committed May 4, 2012
  4. Updated docs

    committed May 4, 2012