Specifying binder doesn't work #665

Closed
denchen opened this Issue Oct 24, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@denchen

denchen commented Oct 24, 2012

When I try to specify which binder file to use, Mojito doesn't seem to want to use that file, always insisting on using the file with the same name as the template

ac.done( { }, { view: { name: "blah", binder: "foo" } } );

This should use blah.hb.html and foo.js, but at least on my environment (Mojito 0.4.5), it insists on using blah.js.

My console output is:
mojito-client: Mojito Client state: paused. yui-base-min.js:12
mojito-client: Created binder "BlahBinderIndex3" for DOM node "yui_3_5_1_2_10_1351121699154_6" yui-base-min.js:12
In blah.js yui-base-min.js:12
mojito-client: Mojito Client state: active. yui-base-min.js:12

(I have foo.js, which creates BlahBinderIndex2, and blah.js, which creates BlahBinderIndex3)

@caridy

This comment has been minimized.

Show comment Hide comment
@caridy

caridy Jan 29, 2013

Collaborator

This should not be an issue in 0.5.x (latest). Closing this. Feel free to re-open if you have any issue with it.

Collaborator

caridy commented Jan 29, 2013

This should not be an issue in 0.5.x (latest). Closing this. Feel free to re-open if you have any issue with it.

@caridy caridy closed this Jan 29, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment