I'm running into some strange behavior with JSViews 1.0.0alpha. At least, I think it's not me, but I'm not entirely sure...
I'm defining multiple parts of data and templates in one HTML file:
var data = { extensions: [], queues: [] };
$.templates({
extensions: "#extensionsTemplate",
queues: "#queuesTemplate"
});
And then I bind these bits of data to the templates I've defined:
$.templates.extensions.link('#extensions', data);
$.templates.queues.link('#queues', data);
When I execute, only the first link command works well. The second one, however, doesn't do anything. I know it's correct, though, because if I comment out the first link, the second one works just fine.
I've tried splitting data into multiple variables, but that doesn't work either. Does anyone have any thoughts on how to get the behavior I'm looking for, i.e., two data links? Thanks!