Browse Source

fix lint

pull/3355/head
afc163 8 years ago
parent
commit
bd952af661
  1. 2
      site/theme/template/Content/Article.jsx

2
site/theme/template/Content/Article.jsx

@ -10,7 +10,6 @@ export default class Article extends React.Component {
static contextTypes = {
intl: PropTypes.object.isRequired,
}
componentDidMount() {
this.componentDidUpdate();
}
@ -19,6 +18,7 @@ export default class Article extends React.Component {
if (links.length === 0) {
return;
}
// eslint-disable-next-line
const checkImgUrl = 'https://g-assets.daily.taob' + 'ao.net/seajs/seajs/2.2.0/sea.js';
this.pingTimer = utils.ping(checkImgUrl, (status) => {
if (status !== 'timeout') {

Loading…
Cancel
Save