76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glassvar getClassName = Y.ClassNameManager.getClassName,
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass selectedTab: '> ul > ' + DOT + _classNames.selectedTab,
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass selectedPanel: '> div ' + DOT + _classNames.selectedPanel
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass // this === tabview._node
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass newContent = node.all(_queries.tabPanel).item(index);
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass oldContent.removeClass(_classNames.selectedPanel);
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass initState: function() {
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass // collapse extra space between list-items
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass this._node.one(_queries.tabviewList).get('childNodes').each(function(node) {
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass // base renderer only enlivens existing markup
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass refresh: function() {
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass initEvents: function() {
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass // TODO: detach prefix for delegate?
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass // this._node.delegate('tabview|' + this.tabEventName),
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass onTabEvent: function(e) {
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass this._select(this._node.all(_queries.tab).indexOf(e.currentTarget));
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass destroy: function() {
76ca635d61eb3f9fb7c9d788a44fa8b1690aa138Dav Glass}, '@VERSION@' ,{requires:['node-event-delegate', 'classnamemanager', 'skin-sam-tabview']});