From e6cbfd37be7dc54e9b7aec009e46d79a78911c08 Mon Sep 17 00:00:00 2001 From: CPPAlien Date: Fri, 17 Aug 2018 12:24:44 +0800 Subject: [PATCH] fix lint --- lib/util.js | 1 + painter.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/util.js b/lib/util.js index 672cc81..292df2a 100644 --- a/lib/util.js +++ b/lib/util.js @@ -10,6 +10,7 @@ function isValidUrl(url) { * @param {Object} b 对象b * @return {Boolean} 是否相同 */ +/* eslint-disable */ function equal(a, b) { if (a === b) return true; diff --git a/painter.js b/painter.js index 4776de4..871013c 100644 --- a/painter.js +++ b/painter.js @@ -30,8 +30,8 @@ Component({ // 启用脏检查,默认 false dirty: { type: Boolean, - value: false - } + value: false, + }, }, data: {