Handlebar Helpers vs Ember Components

Interesting. So I added this.$().foundation(); to didInsertElement inside one of the Views and for that view instead of the slider images being stacked, the slider was gone completely. However, when I open inspector the slider renders properly? Here’s the view:

Ew.ConditionsView = Ember.View.extend({
  didInsertElement: function() {
    $('.hidden-content').hide();
    $('.toggle-bar').click(function (ev) {
   	var t = ev.target

   	$('#info' + $(this).attr('target')).toggle(500);

        return false;
    });
    this.$().foundation();
  }
});

I’d be happy to zip up my files and pass them along if you like. I owe you all one.