diff --git a/include/util/console.js b/include/util/console.js index edf0926..22e8dc4 100644 --- a/include/util/console.js +++ b/include/util/console.js @@ -1,6 +1,6 @@ let chalk; try { - chalk = require('chalk'); + chalk = require('chalk'); // eslint-disable-line node/no-extraneous-require } catch (e) { } module.exports = new Proxy({}, { @@ -8,8 +8,8 @@ module.exports = new Proxy({}, { if (chalk) { return chalk[prop]; } - return function () { + return function() { return arguments.length === 1 ? arguments[0] : arguments; - }.bind(obj); + }; } }); diff --git a/layout/common/article-media.jsx b/layout/common/article-media.jsx index 9f05fb5..9ce8751 100644 --- a/layout/common/article-media.jsx +++ b/layout/common/article-media.jsx @@ -20,7 +20,7 @@ module.exports = class extends Component { : null}
; diff --git a/layout/common/article.jsx b/layout/common/article.jsx index 8004e7d..f8afe6b 100644 --- a/layout/common/article.jsx +++ b/layout/common/article.jsx @@ -66,7 +66,7 @@ module.exports = class extends Component { : null} {/* Title */} -