enyo.Repeater and enyo.List not triggering onSetupItem

Given onSetupItem: 'foo'
When I put a debugger-statement in foo(), or even a console.debug(),
Then foo() does not appear to get triggered / called.

Any ideas? I would provide a jsfiddle, but...
Blocked a frame with origin "http://fiddle.jshell.net" from accessing a cross-origin frame.
... even when going to a fiddle known to have previously worked: http://jsfiddle.net/sugardave/fEwYd/

Comments

  • may be on your end, seems to work for me...
    updated to use a slightly different way of binding
    jsfiddle.net/warpuser/fEwYd/14/

    fyi, in this scenario, fooChanged wont be called because you're initializing the variable during construction time. If you want it to be called, you'll have to put a constructor function that explicitly calls this.fooChanged();
Sign In or Register to comment.