don't use let yet for variable definitions

Fixes #670
This commit is contained in:
Matthew Taylor 2016-07-05 14:21:40 -04:00
parent 6f9c16a7a5
commit 9a037fda81

View file

@ -86,7 +86,7 @@ var Explore = injectIntl(React.createClass({
window.location = window.location.origin + '/explore/' + newType + '/' + this.props.tab; window.location = window.location.origin + '/explore/' + newType + '/' + this.props.tab;
}, },
getBubble: function (type) { getBubble: function (type) {
let classes = classNames({ var classes = classNames({
active: (this.props.category === type) active: (this.props.category === type)
}); });
return ( return (
@ -98,7 +98,7 @@ var Explore = injectIntl(React.createClass({
); );
}, },
getTab: function (type) { getTab: function (type) {
let classes = classNames({ var classes = classNames({
active: (this.props.itemType === type) active: (this.props.itemType === type)
}); });
return ( return (