diff options
Diffstat (limited to 'third_party/gerrit/0003-Syntax-highlight-rules.pl.patch')
-rw-r--r-- | third_party/gerrit/0003-Syntax-highlight-rules.pl.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/third_party/gerrit/0003-Syntax-highlight-rules.pl.patch b/third_party/gerrit/0003-Syntax-highlight-rules.pl.patch index c458223dcfc8..a1c43a048521 100644 --- a/third_party/gerrit/0003-Syntax-highlight-rules.pl.patch +++ b/third_party/gerrit/0003-Syntax-highlight-rules.pl.patch @@ -1,4 +1,4 @@ -From ec8d9361d081070202a4b54035209077022dfca6 Mon Sep 17 00:00:00 2001 +From a8dad8e63a1be32f473e96c6c7530a70d368369f Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown <git@lukegb.com> Date: Thu, 2 Jul 2020 23:02:43 +0100 Subject: [PATCH 3/6] Syntax highlight rules.pl @@ -8,10 +8,10 @@ Subject: [PATCH 3/6] Syntax highlight rules.pl 1 file changed, 10 insertions(+) diff --git a/polygerrit-ui/app/elements/diff/gr-syntax-layer/gr-syntax-layer.js b/polygerrit-ui/app/elements/diff/gr-syntax-layer/gr-syntax-layer.js -index cc937cff67..2145bc169b 100644 +index 480d2946c3..b2020c24bd 100644 --- a/polygerrit-ui/app/elements/diff/gr-syntax-layer/gr-syntax-layer.js +++ b/polygerrit-ui/app/elements/diff/gr-syntax-layer/gr-syntax-layer.js -@@ -105,6 +105,10 @@ const LANGUAGE_MAP = { +@@ -103,6 +103,10 @@ const LANGUAGE_MAP = { }; const ASYNC_DELAY = 10; @@ -19,10 +19,10 @@ index cc937cff67..2145bc169b 100644 + 'rules.pl': 'prolog', +}; + - const CLASS_WHITELIST = { + const CLASS_SAFELIST = { 'gr-diff gr-syntax gr-syntax-attr': true, 'gr-diff gr-syntax gr-syntax-attribute': true, -@@ -236,10 +240,16 @@ class GrSyntaxLayer extends GestureEventListeners( +@@ -234,10 +238,16 @@ class GrSyntaxLayer extends GestureEventListeners( } } |