API Docs for: 1.0 pre
Show:

Ember.Handlebars.Compiler Class

Override the the opcode compiler and JavaScript compiler for Handlebars.

Constructor

Ember.Handlebars.Compiler

() private

Item Index

Methods

Methods

mustache

(
  • mustache
)
private

Rewrite simple mustaches from {{foo}} to {{bind "foo"}}. This means that all simple mustaches in Ember's Handlebars will also set up an observer to keep the DOM up to date when the underlying property changes.

Parameters:

  • mustache Object