Permalink
Commits on Jan 11, 2013
  1. Push to 3.0.0beta6

    committed Jan 11, 2013
  2. Version number is now exposed

    Blade middleware now integrates with node-static-asset
    committed Jan 11, 2013
Commits on Jan 10, 2013
  1. Multiple doctypes are now permitted (closes #119)

    Minor optimization in Compiler.prototype._push allows UglifyJS to do better minification
    Added some tests
    committed Jan 10, 2013
  2. Updated README

    committed Jan 10, 2013
  3. Push to 3.0.0beta5

    Updated documentation (closes #121)
    Removed support for chunks
    Added support for escaped and unescaped text interpolation
    Client-side templates no longer expose base path information (closes #122)
    Fixed interpolation for :javascript filter (fixes #120). Interpolated text is first wrapped in double quotes before UglifyJS parses it. Then, it is unwrapped.
    Added interpolateQuote and interpolateUnquote routines to allow interpolated text to be wrapped and unwrapped in double quotes
    committed Jan 10, 2013
Commits on Jan 8, 2013
  1. Push to 3.0.0beta4

    committed Jan 8, 2013
  2. Update uglify-js dependency version

    Compiler now inserts `__.bd=1` into templates if they contain any block declarations, even if the block is not declared at runtime
    Cleanup runtime: remove unsafe block action stuff, etc.
    Includes now check `info.bd` to see if the included template contains any block declarations; if not, the included HTML can be safely captured and wrapped in a branch label (closes #116)
    "foreach" items are now separately reactive and wrapped in `LiveUpdate.isolate` calls
    committed Jan 8, 2013
Commits on Jan 4, 2013
  1. Push to 3.0.0beta3

    Fixed a bug with runtime.resolve() (fixes #113)
    committed Jan 4, 2013
  2. Push to 3.0.0beta2

    lib/filters now uses lib/util for JavaScript uglify
    Fixed uglify() function in lib/util to work with Uglify-js 1.x and >=2.3 (fixes #118)
    Note: Uglify-js 2.3 has not yet been released
    Fixed test suite
    committed Jan 4, 2013
  3. Push to 3.0.0beta1

    Fix a bug that causes Meteor support to break completely
    committed Jan 4, 2013
  4. Push to 3.0.0alpha13

    Worked on a bunch of Meteor stuff:
    	- Fixed some behavior when mixing blocks and element preservation
    	- Added branch label for foreach blocks (fixes #102)
    	- Fixed a bug in the Meteor smart package file
    committed Jan 4, 2013
  5. Push to 3.0.0alpha12

    `blade.runtime.foreach` now works on Cursor Objects, Arrays, and plain Objects even in Meteor
    Inline Blade event handlers now work the same as Meteor events
    Cleaned up runtime-meteor.js
    committed Jan 4, 2013
Commits on Jan 3, 2013
  1. Migrated uglify-js support to version 2.0 (fixes #111)

    Moved uglify function to blade utility file
    committed Jan 3, 2013
Commits on Jan 2, 2013
  1. Push to 3.0.0alpha11

    committed Jan 2, 2013
  2. Added "preserve" block (closes #104)

    Added sane branch label for constant block
    Compiler now always exposes filename via buf.filename
    runtime: modified info.eventHandlers to match Meteor's event map specification
    runtime: Updated blade.LiveUpdate object with sane no-op functions
    Live UI plugin:
    	- major re-work
    	- now depends on Spark standalone package (see https://github.com/meteor/meteor/wiki/Spark)
    	- Removed blade.Runtime.render(...)
    	- Removed Context code (this is a part of Spark)
    	- Landmarks have preservation enabled by default using preserve-inputs package (see https://github.com/meteor/meteor/blob/master/packages/preserve-inputs/preserve-inputs.js)
    Added some tests
    Added some documentation
    committed Jan 2, 2013
Commits on Dec 19, 2012
  1. Push to 3.0.0alpha10

    Refactored Meteor smart package
    Improved Meteor runtime to allow included templates to access their helpers (addresses #103) - Fix not tested
    liveui: Added on_invalidate_clean function to Context instead of relying on the function's name to be set. Uglify can mangle function names.
    committed Dec 19, 2012
Commits on Dec 14, 2012
  1. Really push to 3.0.0alpha9

    Merge branch 'master' of github.com:bminer/node-blade
    committed Dec 14, 2012
  2. Improved error message thrown by blade.runtime.loadTemplate

    liveui: Added Context.destory() method, which only calls "clean" invalidation functions
    liveui: Model.get's invalidation function is now a "clean" invalidation function
    liveui: Added the concept of render Context identifiers, which can be used to ensure that certain Context's are automatically cleaned up without being invalidated. This is used by the renderTo() function, which allows cleanup invalidation functions to be called when a template is rendered on the same DOM element.
    committed Dec 14, 2012
  3. Push to 3.0.0alpha9

    Filename is now passed as an option to filters; this allows Stylus to properly resolve paths when @import is used within a :stylus block.
    committed Dec 14, 2012
Commits on Dec 6, 2012
  1. Push to 3.0.0alpha8

    Fixed uglify-js dependency in package.json for now (partially addresses #111)
    committed Dec 6, 2012
  2. Push to 3.0.0alpha7

    Parser is more forgiving on foreach statements (fixes #109)
    Updated test suite
    committed Dec 6, 2012
Commits on Dec 5, 2012
  1. id attributes added to tags via the pound sign `#` are now used if th…

    …e "code" attribute ends up being null/false/empty
    
    Tag attributes can now be interpolated (closes #105)
    Fixed a bug with id and class attributes merging with the first tag in a function (fixes #106)
    Improved test suite
    committed Dec 5, 2012
  2. Merge pull request #107 from mhuebert/patch-1

    Fix coffeescript filter
    committed Dec 5, 2012
  3. @mhuebert

    Fix coffeescript filter

    to eliminate error "Compile error: str is not defined" 
    mhuebert committed Dec 5, 2012
Commits on Nov 14, 2012
  1. Updated Meteorite smart package

    committed Nov 14, 2012
  2. Fixed a parser bug involving the matched_parentheses rule (fixes #101)

    Added some code to `runtime.loadTemplate` to allow for early detection of load errors in some cases on some browsers
    Push to 3.0.0alpha6
    committed Nov 14, 2012
Commits on Nov 2, 2012
  1. Fixed a bug in blade.Runtime.resolve, causing filenames to be imprope…

    …rly resolved (fixes #97)
    
    Push to 3.0.0alpha5
    committed Nov 2, 2012
Commits on Oct 24, 2012
  1. File include paths are now correct within block modifiers (fixes #86)

    Fixed a bug in test suite (incorrect count of tests passed)
    Added additional tests
    Push to 3.0.0alpha4
    committed Oct 24, 2012
  2. Atmosphere smart package is now available (closes #88)

    Push to 3.0.0alpha3
    committed Oct 24, 2012
  3. Reformated version numbers

    committed Oct 24, 2012