Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (15 sloc) 501 Bytes

Express-Ember-Handlebars

This is a fork of interlock/connect-handlebars

It doesn't actually do any compling in the node process, but rather writes the client javascript for Ember to compile.

To make this work in an express app, do the following:

var ember_handlebars = require('express-ember-handlebars');
...
app.get('/templates.js', ember_handlebars(__dirname +
'/public/templates', {
  cache: false
}));