From 4e7985d7d7620759c324357f661a16e13fa229d5 Mon Sep 17 00:00:00 2001 From: wangchun17 Date: Wed, 27 Oct 2021 15:08:35 +0800 Subject: [PATCH] fixed 08a29fe from https://gitee.com/wangchun17/developtools_ace-js2bundle/pulls/89 chunn.wang@huawei.com Signed-off-by: wangchun17 Change-Id: Ib6b5eb86937a66ebe482c52b49e32443bea3da57 --- ace-loader/plugin/templater/component_validator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ace-loader/plugin/templater/component_validator.js b/ace-loader/plugin/templater/component_validator.js index e8d920b..92928c0 100644 --- a/ace-loader/plugin/templater/component_validator.js +++ b/ace-loader/plugin/templater/component_validator.js @@ -1036,7 +1036,7 @@ const EVENT_END_REGEXP = /(\.bubble|\.capture)$/; const START_CATCH_REGEXP = /^(grab:)/; const END_CAPTURE_REGEXP = /(\.capture)$/; const TOUCH_EVENT_REGEXP = /^(touch)/; -const CLICK_EVENT_REGEXP = /click/; +const CLICK_EVENT_REGEXP = /^(click)$/; const TOUCH_CAPTURE_EVENT_REGEXP = /^(?!touch).*?(\.capture)$/; /** -- Gitee