ember.js - Ember actions not firing after moving to ember-cli -
i've begun porting app in script tags , single .js file, ember-cli. routes, models, , rendering work, reason no controller actions firing. none. anywhere. app works fine until pull own files conform ember-cli directory/module structure. ideas causing this?
the rendered dom elements have 'data-ember-action' on them expected, clicking them doesn't anything, , neither explicit click() phone call using jquery on console. there no output of kind on console typically happens when "action not found" errors occur, , none of code gets hit.
it's isn't using controllers, it's building dummy. naming schema not matching ember-cli expecting.
you prove tossing property in controller
var indexcontroller = ember.objectcontroller.extend({ foo: 'bar' }); export default indexroute; and referencing property in template
i'm using controller , it's property {{foo}} you can see in ember chrome extension, shows type of controller beingness used.
ember.js ember-cli
No comments:
Post a Comment