rebuild playground using dist folder (#96)
This commit is contained in:
parent
cef886ac7d
commit
731296b27a
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -12,7 +12,11 @@ define([
|
|||
return React.createElement('li', {
|
||||
'role': 'presentation',
|
||||
'key': 'tab' + tabIndex,
|
||||
'className': _.keys(_.pick({ active: this.state.currentTab === tab[0] }, _.identity)).join(' '),
|
||||
'className': _({ active: this.state.currentTab === tab[0] }).transform(function (res, value, key) {
|
||||
if (value) {
|
||||
res.push(key);
|
||||
}
|
||||
}, []).join(' '),
|
||||
'onClick': onClick1.bind(this, tab, tabIndex)
|
||||
}, React.createElement('a', { 'aria-controls': tab[1] }, tab[1]));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue