From e39d1ae78ff3829f96db5952ecdcd17dbd533fe8 Mon Sep 17 00:00:00 2001 From: ABuffSeagull Date: Tue, 15 Mar 2022 14:09:38 -0400 Subject: autodoc: fix missing variable declaration for strict mode --- lib/docs/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/docs/main.js b/lib/docs/main.js index a2c567fa38..9ff8d42d45 100644 --- a/lib/docs/main.js +++ b/lib/docs/main.js @@ -1,4 +1,4 @@ -//'use strict'; +'use strict'; (function() { var domStatus = document.getElementById("status"); @@ -1543,6 +1543,7 @@ if (location.hash[0] === '#' && location.hash.length > 1) { var query = location.hash.substring(1); var qpos = query.indexOf("?"); + var nonSearchPart; if (qpos === -1) { nonSearchPart = query; } else { -- cgit v1.2.3