can
Version:
MIT-licensed, client-side, JavaScript framework that makes building rich web applications easy.
11 lines (8 loc) • 347 B
JavaScript
steal('./system-nodelist.stache!', function(template) {
var nl = can.view.nodeLists.register([], undefined, true);
can.stache.registerHelper('importTestHelper', function(options) {
window.parent.QUnit.equal(options.nodeList, nl.replacements[0], 'correct node list reference');
window.parent.removeMyself();
});
template({}, {}, nl);
});