No commit activity in last 3 years
No release in over 3 years
Use emblem.js with sprockets - see https://github.com/machty/emblem.js
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Emblem::Sprockets

Integrate Emblem.js with sprockets

Installation

Add gem 'emblem-sprockets' to your application's Gemfile :

gem 'emblem-sprockets'

And then execute:

$ bundle

Tell emblem-sprockets about your sprockets environment:

Emblem::Sprockets.integrate sprockets_environment

Now any templates ending in .emblem will be compiled as Ember-Handlebars templates. If you need to compile your Emblem templates with vanilla Handlebars, use the .raw.emblem extension.

Upgrading to the latest Emblem

This gem is only responsible for integrating Emblem.js with Sprockets. Any updates to the Emblem language itself can be pulled in via

$ bundle update emblem-source