antramm / broccoli-emblem-compiler

Emblem.js precompiler for projects that use broccoli
MIT License
5 stars 17 forks source link

Doen not work with Ember-CLI #10

Open suchitpuri opened 9 years ago

suchitpuri commented 9 years ago

The broccoli-emblem-compiler throws error , i am using emblem 0.4.0 and ember-cli 0.2-beta-1

Property 'undefined' of object #<Object> is not a function
at Object.Compiler.accept (... /node_modules/broccoli-emblem-compiler/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:105:26)
at Object.Compiler.program (.../node_modules/broccoli-emblem-compiler/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:118:12)
cameronlinden commented 9 years ago

bump

foxnewsnetwork commented 9 years ago

This version of the emblem compiler uses an older version of emblem which compiles to js instead of to handlebars, so with every new release of handlebars (or HTMLbars as they are now), this addon will likely break.

What you good folks need to switch over to using: ember-cli-emblem-hbs-printer for your emblem compiling.

ember install:addon ember-cli-emblem-hbs-printer