Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 8, 2013
  1. 3.0.0rc5 - Fixed some bugs for Meteor.

    authored
    Handlebars helpers are now available to Blade templates
    Added support for `Npm.depends` and `Npm.require`, which are not yet available
Commits on Mar 7, 2013
  1. Push to 3.0.0rc4

    authored
    Fixed Blade Middleware for Windows (fixes #147)
  2. Push to 3.0.0rc3

    authored
    Blade caching mechanism now requires all compilation options to match in order to get a cache "hit" (fixes #123)
  3. LiveUI plugin now adds branch labels to included templates (closes #146)

    authored
    Updated docs (closes #142)
    Added additional syntax to add whitespace between tags. Also added some tests. (closes #93)
  4. Blade 3.0.0rc2 - Major bugfixes for Meteor support

    authored
    `runtime.include` no longer handles liveUpdate stuff; this is now handled by
    `runtime-meteor.js`
    
    `runtime-meteor.js` exposes `info` Object when performing file includes via
    `blade._includeInfo`. The Blade smart package now generates Template functions
    that read `blade._includeInfo` and pass it into the template.  Then, as normal,
    the Template function will return reactive HTML and modify `info` as an
    intended side-effect. `runtime-meteor.js` has been modified to determine
    whether or not the included template contains any block declarations, and if
    not, reactive HTML is injected into the template's HTML buffer. If block
    definitions were used, then the template's HTML buffer is left untouched, as it
    already contained non-reactive HTML. Fixes #139.
Commits on Mar 6, 2013
  1. Fixed a bunch of Meteor stuff:

    authored
    - Cleaned up Meteor `package.js` file to fix `require("blade")` hacks. Should fix #144.
    - Now considering `client/views` folder to be in the root namespace. Closes #143.
    - Fixed view helpers. They can now be used just like view locals. Also closes #136.
    Push to version 3.0.0beta8
Commits on Feb 3, 2013
  1. Fixed #130. Push to 3.0.0rc1.

    authored
Commits on Jan 16, 2013
  1. Merge pull request #124 from martindale/master

    authored
    Fixed Jade image in the README.
Commits on Jan 15, 2013
  1. @martindale

    Adjust comparison headers (again).

    martindale authored
    More adjusting of the header text is necessary.
  2. @martindale

    Adjust comparison headers.

    martindale authored
    With the new image, I needed to adjust the headers to make them pretty.
  3. @martindale

    Fixed image of Jade in README.

    martindale authored
    The comparison of Jade vs. Blade had the wrong image for Jade, so I fixed it.
  4. @martindale

    Fixed image of Jade in README.

    martindale authored
    The comparison of Jade vs. Blade had the wrong image for Jade, so I fixed it.
Commits on Jan 11, 2013
  1. Push to 3.0.0beta7

    authored
    Fixed critical middleware bug introduced in 3.0.0beta6
  2. Push to 3.0.0beta6

    authored
  3. Version number is now exposed

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

    authored
    Minor optimization in Compiler.prototype._push allows UglifyJS to do better minification
    Added some tests
  2. Updated README

    authored
  3. Push to 3.0.0beta5

    authored
    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
Commits on Jan 8, 2013
  1. Push to 3.0.0beta4

    authored
  2. Update uglify-js dependency version

    authored
    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
Commits on Jan 4, 2013
  1. Push to 3.0.0beta3

    authored
    Fixed a bug with runtime.resolve() (fixes #113)
  2. Push to 3.0.0beta2

    authored
    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
  3. Push to 3.0.0beta1

    authored
    Fix a bug that causes Meteor support to break completely
  4. Push to 3.0.0alpha13

    authored
    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
  5. Push to 3.0.0alpha12

    authored
    `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
Commits on Jan 3, 2013
  1. Migrated uglify-js support to version 2.0 (fixes #111)

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

    authored
  2. Added "preserve" block (closes #104)

    authored
    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
Commits on Dec 19, 2012
  1. Push to 3.0.0alpha10

    authored
    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.
Commits on Dec 14, 2012
  1. Really push to 3.0.0alpha9

    authored
    Merge branch 'master' of github.com:bminer/node-blade
  2. Improved error message thrown by blade.runtime.loadTemplate

    authored
    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.
  3. Push to 3.0.0alpha9

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

    authored
    Fixed uglify-js dependency in package.json for now (partially addresses #111)
  2. Push to 3.0.0alpha7

    authored
    Parser is more forgiving on foreach statements (fixes #109)
    Updated test suite
Something went wrong with that request. Please try again.