Commit 9a037fda authored by Matthew Taylor's avatar Matthew Taylor

don't use `let` yet for variable definitions

Fixes #670
parent 6f9c16a7
...@@ -86,7 +86,7 @@ var Explore = injectIntl(React.createClass({ ...@@ -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({ ...@@ -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 (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment