Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
componentDidMount() {
console.log(`
_____ ___ _____
( ) @ @ \\%%%/
||| ||| \\%%%/
||| ||| |||
||| ||| |||
||| ||| |||
(___) (___) (___)
Roma
If you're checking out the console, maybe you want to contribute?
Please do! https://github.com/TEIC/romajs
`)
this.props.clearUiData()
const tabBar = new MDCTabBar(this.refs.tabs)
tabBar.listen('MDCTabBar:change', ({detail: tabs}) => {
this.updatePanel(tabs.activeTabIndex)
})
// Set start function to first option
this.setState({selectedKnown: this.state.odds.urls[0]})
this._updateCustomizationUrl()
const select = new MDCSelect(this.refs.chooseodd)
select.foundation_.setSelectedIndex(0)
select.listen('MDCSelect:change', () => {
const idx = this.state.odds.labels.indexOf(select.value)
this.setState({selectedKnown: this.state.odds.urls[idx]})
this._updateCustomizationUrl()
})
}
public componentDidMount() {
super.componentDidMount();
if (this.control) {
this.MDComponent = new MDCTabBar(this.control);
}
this.afterComponentDidMount();
}
componentDidMount() {
this.MDComponent = new MDCTabBar(this.control);
}
componentWillUnmount() {