From 18fd3e0329a85f448bcf3f02414b424378e52d5a Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 8 Sep 2016 14:56:24 +0900 Subject: [PATCH] Fix js linting error --- spec/webview-spec.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/webview-spec.js b/spec/webview-spec.js index dac9eb951a2..5f251284c4e 100644 --- a/spec/webview-spec.js +++ b/spec/webview-spec.js @@ -783,8 +783,7 @@ describe(' tag', function () { let requestId = null let activeMatchOrdinal = [] const listener = function (e) { - if (!e.result.finalUpdate) - return + if (!e.result.finalUpdate) return assert.equal(e.result.requestId, requestId) assert.equal(e.result.matches, 3) activeMatchOrdinal.push(e.result.activeMatchOrdinal)