From 473a711aaa40df386b6d4ed61fdeda700165ba69 Mon Sep 17 00:00:00 2001 From: Thiemo Kreuz Date: Thu, 14 Jan 2021 09:36:37 +0100 Subject: [PATCH] Rename our customized matchbrackets addon Bug: T269096 Change-Id: I5b58099166f71ccc1b3b19334f28e8bbaafaceb3 --- Gruntfile.js | 1 + extension.json | 2 +- .../edit/matchbrackets.js => addon/edit/matchbrackets-wmde.js} | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename resources/{lib/codemirror/addon/edit/matchbrackets.js => addon/edit/matchbrackets-wmde.js} (100%) diff --git a/Gruntfile.js b/Gruntfile.js index b4e5a72d..5d5dd6cf 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -12,6 +12,7 @@ module.exports = function ( grunt ) { }, all: [ '**/*.{js,json}', + '!resources/addon/edit/**', '!resources/lib/**', '!{vendor,node_modules}/**' ] diff --git a/extension.json b/extension.json index 3557f10f..3698b1ce 100644 --- a/extension.json +++ b/extension.json @@ -65,7 +65,7 @@ }, "ext.CodeMirror.addons": { "scripts": [ - "lib/codemirror/addon/edit/matchbrackets.js" + "addon/edit/matchbrackets-wmde.js" ], "dependencies": [ "ext.CodeMirror.lib" diff --git a/resources/lib/codemirror/addon/edit/matchbrackets.js b/resources/addon/edit/matchbrackets-wmde.js similarity index 100% rename from resources/lib/codemirror/addon/edit/matchbrackets.js rename to resources/addon/edit/matchbrackets-wmde.js