From cadddc13dcc2a4906bcdf6e7be4ca76fc7421212 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sun, 25 Jan 2026 19:23:44 +0000 Subject: [PATCH] Genuflecting to the linter --- core/modules/parsers/parseutils.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/modules/parsers/parseutils.js b/core/modules/parsers/parseutils.js index f935cdc09d..465b7cce46 100644 --- a/core/modules/parsers/parseutils.js +++ b/core/modules/parsers/parseutils.js @@ -114,7 +114,7 @@ exports.parseStringLiteral = function(source,pos) { node.value = match[1] !== undefined ? match[1] :( match[2] !== undefined ? match[2] : ( match[3] !== undefined ? match[3] : match[4] - )); + )); node.end = pos + match[0].length; return node; } else { @@ -209,11 +209,11 @@ Look for a macro invocation. Returns null if not found, or {type: "transclude", exports.parseMacroInvocationAsTransclusion = function(source,pos) { // console.log("parseMacroInvocationAsTransclusion",source,pos); var node = { - type: "transclude", - start: pos, - attributes: {}, - orderedAttributes: [] - }; + type: "transclude", + start: pos, + attributes: {}, + orderedAttributes: [] + }; // Define our regexps var reVarName = /([^\s>"'=:]+)/g; // Skip whitespace