zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit e39d1ae78ff3829f96db5952ecdcd17dbd533fe8 (tree)
parent 40a2844c304ebe35fdbb2798499b67ca943c0259
Author: ABuffSeagull <reecevanatta@hey.com>
Date:   Tue, 15 Mar 2022 14:09:38 -0400

autodoc: fix missing variable declaration for strict mode

Diffstat:
Mlib/docs/main.js | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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 {