diff options
| author | ABuffSeagull <reecevanatta@hey.com> | 2022-03-15 14:09:38 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-07-19 19:10:11 -0700 |
| commit | e39d1ae78ff3829f96db5952ecdcd17dbd533fe8 (patch) | |
| tree | e18a636d8062ccd3171cab27f60c02433c3d4112 /lib/docs | |
| parent | 40a2844c304ebe35fdbb2798499b67ca943c0259 (diff) | |
| download | zig-e39d1ae78ff3829f96db5952ecdcd17dbd533fe8.tar.gz zig-e39d1ae78ff3829f96db5952ecdcd17dbd533fe8.zip | |
autodoc: fix missing variable declaration for strict mode
Diffstat (limited to 'lib/docs')
| -rw-r--r-- | lib/docs/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |
