Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
componentDidMount() {
Event.addEvent(window, 'resize', this.resizeHandle);
document.getElementById('loading').style.display = 'none';
}
componentDidMount() {
Event.addEvent(document, 'scroll', this.scrollHandler);
this.navEl = findDOMNode(this.refs.nav);
this.navHeight = (this.navEl && this.navEl.offsetHeight) || 80;
}