Permalink
Commits on May 14, 2012
  1. Updated runtime

    bminer committed May 14, 2012
  2. Fixed typo

    bminer committed May 14, 2012
  3. Updated parser to better parse attribute values and code (fixes #11 and

    bminer committed May 14, 2012
    fixes #12)
    
    Push to 0.11.1
  4. Updated diff command in single.js and test.js

    bminer committed May 14, 2012
    Updated test suite and added new test cases
  5. Push to version 0.11.0

    bminer committed May 14, 2012
  6. Fixed bug with nl2br filter to escape text beforehand.

    bminer committed May 14, 2012
    Improved markdown filter and added stylus, less, sass, and coffeescript filters. (fixes #7)
    Updated documentation.
Commits on May 11, 2012
  1. Updated docs

    bminer committed May 11, 2012
  2. Changed how files were included to better support client-side templates

    bminer committed May 11, 2012
    Fixed some bugs in the runtime
    Push to 0.10.3
Commits on May 10, 2012
  1. Fixed README

    bminer committed May 10, 2012
  2. Push to version 0.10.2.

    bminer committed May 10, 2012
    Updated docs and optional dependencies list
  3. Push to version 0.10.1

    bminer committed May 10, 2012
  4. Added uglify-js support when `tmpl.toString()` is called (solves issue

    bminer committed May 10, 2012
    …#14)
    
    Exposed compiler option for customizable reserved variable name for templates
    includeSource compiler option defaults to true for "development" NODE_ENV
    Updated docs for blocks and other stuff
    Fixed some error reporting issues, including the one described in issue #15
  5. Massive compiler and runtime re-work to properly support blocks and o…

    bminer committed May 10, 2012
    …ther features
    
    -You can now use `runtime`, `buf`, and `blade` as variable names within a template without conflicts
    -Updated documentation on blocks
    -The compiler now uses `this.templateNamespace` to keep track of the reserved variable name used throughout the template.  `this.templateNamespace` is typically defined as a local variable within a function with the short-hand name `ns`.
    -The compiler now uses an array buffer instead of string concatenation throughout, just like the templates themselves
    -Included files work much differently, accepting the buffer and other info from the parent view, rather than a runtime Object.
    -More detailed error reporting
    -Blocks now work propery and receive their own buffer Object at runtime (solves issue #10)
    -Functions now return `this.pos` to inform function callers of the buffer length prior to the call. This supports the capture of rendered content much more nicely.
  6. Added new test files and the ability to test a single file

    bminer committed May 10, 2012
    Also updated test suite
Commits on May 9, 2012
  1. Updated docs

    bminer committed May 9, 2012
  2. Updated docs

    bminer committed May 9, 2012
  3. Updated docs

    bminer committed May 9, 2012
  4. Try one more time

    bminer committed May 9, 2012
  5. Try again

    bminer committed May 9, 2012
  6. Updated docs

    bminer committed May 9, 2012
  7. Added test case for comments

    bminer committed May 9, 2012
    Added copyright notices / license info to files
  8. Can now add classes and ids to function output (solves issue #9)

    bminer committed May 9, 2012
    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
  9. New runtime build

    bminer committed May 9, 2012
  10. Lots of bugfixes

    bminer committed May 9, 2012
    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
  11. Added /dist directory, which includes runtime.js for browsers (solves…

    bminer committed May 9, 2012
    … 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
  12. Added Blade middleware for client-side templates (solves issue #3)

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

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

    bminer committed May 9, 2012
    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
Commits on May 8, 2012
  1. Updated docs

    bminer committed May 8, 2012