From 26fa49f4b0aa658d65a21fffe828f39e78302573 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 17:46:58 +0800 Subject: [PATCH] Revert "Update#139889 [ 快速篩選 ] 年資文案調整" --- PAMapp/node_modules/js-beautify/js/src/javascript/tokenizer.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PAMapp/node_modules/js-beautify/js/src/javascript/tokenizer.js b/PAMapp/node_modules/js-beautify/js/src/javascript/tokenizer.js index 5710bc1..1ca3bfd 100644 --- a/PAMapp/node_modules/js-beautify/js/src/javascript/tokenizer.js +++ b/PAMapp/node_modules/js-beautify/js/src/javascript/tokenizer.js @@ -74,7 +74,7 @@ var dot_pattern = /[^\d\.]/; var positionable_operators = ( - ">>> === !== " + + ">>> === !== &&= ??= ||= " + "<< && >= ** != == <= >> || ?? |> " + "< / - + > : & % ? ^ | *").split(' '); @@ -82,7 +82,7 @@ // Also, you must update possitionable operators separately from punct var punct = ">>>= " + - "... >>= <<= === >>> !== **= " + + "... >>= <<= === >>> !== **= &&= ??= ||= " + "=> ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> " + "= ! ? > < : / ^ - + * & % ~ |"; @@ -126,7 +126,7 @@ html_comment_end: pattern_reader.matching(/-->/), include: pattern_reader.starting_with(/#include/).until_after(acorn.lineBreak), shebang: pattern_reader.starting_with(/#!/).until_after(acorn.lineBreak), - xml: pattern_reader.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\]|)(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/), + xml: pattern_reader.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/), single_quote: templatable.until(/['\\\n\r\u2028\u2029]/), double_quote: templatable.until(/["\\\n\r\u2028\u2029]/), template_text: templatable.until(/[`\\$]/), -- Gitblit v1.8.0