machty / emblem.js

Emblem.js - Ember-friendly, indented syntax alternative for Handlebars.js
http://emblemjs.com
MIT License
1.04k stars 81 forks source link

Slash in property name doesn't work #230

Closed alex88 closed 8 years ago

alex88 commented 9 years ago

I'm trying this:

class=controllers.dashboard/edit.showMenu:visible:hidden

because in ember 1.11.1 you can referer other controllers (which are nested) with the slash:

needs: ['dashboard/edit']

but it seems the slash is not inside the property name after compilation. I've solved for now with

parent: Ember.computed.alias 'controllers.dashboard/edit'

but is there another way?

alex88 commented 8 years ago

Thanks!