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

    Fixed a few bugs in Meteor smart package
    Documented isolates
    committed Oct 24, 2012
  5. Push to 3.0.0-alpha1

    runtime: Moved 'blade.runtime' to 'blade.Runtime' (but kept blade.runtime for backward compatibility)
    runtime: Moved 'blade.timeout' to 'blade.Runtime.options.loadTimeout'
    runtime: Moved 'blade.mount' to 'blade.Runtime.options.mount'
    runtime: Moved 'blade.cb' to 'blade._cb'
    runtime: Moved 'blade.cachedViews' to 'blade._cachedViews'
    Added isolate block (still undocumented)
    Added constant block (still undocumented)
    Added foreach block
    Compiler now quotes attribute properties properly (fixes #94)
    blade.LiveUpdate is a [Spark-compatible](https://github.com/meteor/meteor/tree/master/packages/spark) interface containing all Spark annotation types, as specified by the Spark API.
    Blade chunks are now deprecated
    Removed weird spacing from LICENSE; license is MIT license
    Fixed a bug in runtime.capture, where blocks defined within a function were deleted completely, not inserted/resolved
    Fixed a bug in the test suite when performing diff
    Fixed bugs in Meteor runtime: needs to append .blade to filenames, as appropriate; needs to return boolean (might fix #95)
    Package.json spaces converted to tabs
    committed Oct 24, 2012
Commits on Oct 16, 2012
  1. Fixed a bug in template wrapper's toString() method that was introduc…

    …ed in 2.6.3 (fixes #92)
    
    Push to 2.6.4
    committed Oct 16, 2012
Commits on Oct 15, 2012
Commits on Oct 14, 2012
  1. Compiler options `doctypes` and `filters` now merge with (instead of …

    …replace) the list of built-in doctypes/filters. Closes #90
    
    Did some refactoring in the Compiler to reference `this.options` Object instead of moving some of the options directly to `this`
    Added a note about Laravel's Blade templating engine
    committed Oct 14, 2012
Commits on Oct 11, 2012
  1. Middleware and runtime allow template dependencies to be preloaded pr…

    …operly. Fixes #91
    
    Push to 2.6.3
    committed Oct 11, 2012
Commits on Sep 24, 2012
  1. Blade middleware sourcePath argument is now resolved via `path.resolve`

    Fixed a small bug in the compiler's option processing
    Quoted strings can now be empty (closes #89)
    File includes must not have an empty filename
    Push to 2.6.2
    committed Sep 24, 2012
Commits on Sep 11, 2012
Commits on Aug 29, 2012
  1. Blank lines are much more permissible in Blade documents (fixes #81)

    Added appropriate tests
    committed Aug 29, 2012