style(js): standard

This commit is contained in:
curben 2019-08-25 23:35:24 +09:30
parent 82e79cf4c7
commit 56d77c0ac5
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
3 changed files with 1 additions and 4 deletions

View File

@ -7,8 +7,6 @@
* to remove title attribute and 'external' option * to remove title attribute and 'external' option
*/ */
'use strict'
const { htmlTag } = require('hexo-util') const { htmlTag } = require('hexo-util')
function linkHelper (path, text) { function linkHelper (path, text) {

View File

@ -8,8 +8,6 @@
* http://microformats.org/wiki/rel-tag * http://microformats.org/wiki/rel-tag
*/ */
'use strict'
function listTagsHelper (tags, options) { function listTagsHelper (tags, options) {
if (!options && (!tags || !Object.prototype.hasOwnProperty.call(tags, 'length'))) { if (!options && (!tags || !Object.prototype.hasOwnProperty.call(tags, 'length'))) {
options = tags options = tags

View File

@ -1,4 +1,5 @@
'use strict' 'use strict'
/* global hexo */
function metaGeneratorHelper () { function metaGeneratorHelper () {
return '<meta name="generator" content="Hexo %s">'.replace('%s', this.env.version) return '<meta name="generator" content="Hexo %s">'.replace('%s', this.env.version)