authorgravatar for reecevanatta@hey.comABuffSeagull <reecevanatta@hey.com> 2022-03-15 14:09:38-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-19 19:10:11-07:00
loge39d1ae78ff3829f96db5952ecdcd17dbd533fe8
treee18a636d8062ccd3171cab27f60c02433c3d4112
parent40a2844c304ebe35fdbb2798499b67ca943c0259

autodoc: fix missing variable declaration for strict mode


1 files changed, 2 insertions(+), 1 deletions(-)

lib/docs/main.js+2-1
...@@ -1,4 +1,4 @@...@@ -1,4 +1,4 @@
1//'use strict';1'use strict';
22
3(function() {3(function() {
4 var domStatus = document.getElementById("status");4 var domStatus = document.getElementById("status");
...@@ -1543,6 +1543,7 @@...@@ -1543,6 +1543,7 @@
1543 if (location.hash[0] === '#' && location.hash.length > 1) {1543 if (location.hash[0] === '#' && location.hash.length > 1) {
1544 var query = location.hash.substring(1);1544 var query = location.hash.substring(1);
1545 var qpos = query.indexOf("?");1545 var qpos = query.indexOf("?");
1546 var nonSearchPart;
1546 if (qpos === -1) {1547 if (qpos === -1) {
1547 nonSearchPart = query;1548 nonSearchPart = query;
1548 } else {1549 } else {