From e49fdce2156427e89c406970ed55749bf201ad05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20H=C3=A4ssler?= Date: Mon, 22 Apr 2019 23:43:55 +0200 Subject: [PATCH] Add missing semicolons --- modules/ui/raw_tag_editor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ui/raw_tag_editor.js b/modules/ui/raw_tag_editor.js index af46456fd..318c84663 100644 --- a/modules/ui/raw_tag_editor.js +++ b/modules/ui/raw_tag_editor.js @@ -329,13 +329,13 @@ export function uiRawTagEditor(context) { } // if the key looks like "key=value key2=value2", split them up - #5024 - var keys = (kNew.match(/[\w_]+=/g) || []).map(function (key) { return key.slice(0, -1)}); + var keys = (kNew.match(/[\w_]+=/g) || []).map(function (key) { return key.slice(0, -1); }); var vals = keys.length === 0 ? [] : kNew - .split(new RegExp(keys.map(function (key) { return key.replace('_', '\\_') }).join('|'))) + .split(new RegExp(keys.map(function (key) { return key.replace('_', '\\_'); }).join('|'))) .splice(1) - .map(function (val) { return val.slice(1).trim() }); + .map(function (val) { return val.slice(1).trim(); }); if (keys.length > 0) { kNew = keys[0];