Authored by 李靖

lint-all

... ... @@ -1592,6 +1592,12 @@
"readdirp": "2.1.0"
}
},
"ci-info": {
"version": "1.1.2",
"resolved": "http://npm.yohops.com/ci-info/-/ci-info-1.1.2.tgz",
"integrity": "sha1-A1YSWdtI0EdMi9yQ9bR7Botrv7Q=",
"dev": true
},
"cipher-base": {
"version": "1.0.4",
"resolved": "http://registry.npm.taobao.org/cipher-base/download/cipher-base-1.0.4.tgz",
... ... @@ -5518,6 +5524,31 @@
"integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=",
"dev": true
},
"husky": {
"version": "0.14.3",
"resolved": "http://npm.yohops.com/husky/-/husky-0.14.3.tgz",
"integrity": "sha1-xp7XTi0neXaaF7qDmbVM4LY8EsM=",
"dev": true,
"requires": {
"is-ci": "1.1.0",
"normalize-path": "1.0.0",
"strip-indent": "2.0.0"
},
"dependencies": {
"normalize-path": {
"version": "1.0.0",
"resolved": "http://npm.yohops.com/normalize-path/-/normalize-path-1.0.0.tgz",
"integrity": "sha1-MtDkcvkf80VwHBWoMRAY07CpA3k=",
"dev": true
},
"strip-indent": {
"version": "2.0.0",
"resolved": "http://npm.yohops.com/strip-indent/-/strip-indent-2.0.0.tgz",
"integrity": "sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=",
"dev": true
}
}
},
"iconv-lite": {
"version": "0.4.19",
"resolved": "http://npm.yoho.cn/iconv-lite/-/iconv-lite-0.4.19.tgz",
... ... @@ -5770,6 +5801,15 @@
"integrity": "sha1-hut1OSgF3cM69xySoO7fdO52BLI=",
"dev": true
},
"is-ci": {
"version": "1.1.0",
"resolved": "http://npm.yohops.com/is-ci/-/is-ci-1.1.0.tgz",
"integrity": "sha1-JH5BYueGDOu9rzC3dNawrH3P56U=",
"dev": true,
"requires": {
"ci-info": "1.1.2"
}
},
"is-date-object": {
"version": "1.0.1",
"resolved": "http://registry.npm.taobao.org/is-date-object/download/is-date-object-1.0.1.tgz",
... ...
... ... @@ -40,6 +40,7 @@
"eslint": "^4.14.0",
"eslint-config-yoho": "^1.0.9",
"eslint-plugin-html": "^4.0.1",
"husky": "^0.14.3",
"jquery": "^1.12.4",
"jquery-lazyload": "^1.9.7",
"stylelint": "^8.1.1",
... ...
... ... @@ -6,7 +6,7 @@ require('./common/area-common');
require('./area/more-list');
let categoryObj = {
domInit: function () {
domInit: function() {
this.el = {
$tabItem: $('.tab-item'),
$listItem: $('.tab-item').find('.list-item'),
... ...