diff options
author | Mathias <mail@mathias.is> | 2019-09-16 17:38:56 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2019-09-16 17:38:56 +0200 |
commit | 3f05cb7890f46b886cbe2f4640b0b08064b981e6 (patch) | |
tree | 156450e7f7c7b0f23a90f00f9e9ac25cb44e3e01 /Server/Plugins/APIDump/main_APIDump.lua | |
parent | Protocol 1.9: Alpha-sort, add useful debugging code. (diff) | |
download | cuberite-3f05cb7890f46b886cbe2f4640b0b08064b981e6.tar cuberite-3f05cb7890f46b886cbe2f4640b0b08064b981e6.tar.gz cuberite-3f05cb7890f46b886cbe2f4640b0b08064b981e6.tar.bz2 cuberite-3f05cb7890f46b886cbe2f4640b0b08064b981e6.tar.lz cuberite-3f05cb7890f46b886cbe2f4640b0b08064b981e6.tar.xz cuberite-3f05cb7890f46b886cbe2f4640b0b08064b981e6.tar.zst cuberite-3f05cb7890f46b886cbe2f4640b0b08064b981e6.zip |
Diffstat (limited to 'Server/Plugins/APIDump/main_APIDump.lua')
-rw-r--r-- | Server/Plugins/APIDump/main_APIDump.lua | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/Server/Plugins/APIDump/main_APIDump.lua b/Server/Plugins/APIDump/main_APIDump.lua index fd243b25f..f92abb932 100644 --- a/Server/Plugins/APIDump/main_APIDump.lua +++ b/Server/Plugins/APIDump/main_APIDump.lua @@ -330,22 +330,6 @@ local function WriteHtmlHook(a_Hook, a_HookNav, a_API) end f:write([[</td></tr></table></div><script>prettyPrint();</script>]]) f:write(GetHtmlTimestamp()) - f:write([[<!-- Piwik --> - <script type="text/javascript"> - var _paq = _paq || []; - _paq.push(['trackPageView']); - _paq.push(['enableLinkTracking']); - (function() { - var u="https://analytics.cuberite.org/"; - _paq.push(['setTrackerUrl', u+'piwik.php']); - _paq.push(['setSiteId', 5]); - var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; - g.type='text/javascript'; g.async=true; g.defer=true; g.src='piwik.js'; s.parentNode.insertBefore(g,s); - })(); - </script> - <noscript><p><img src="https://analytics.cuberite.org/piwik.php?idsite=5" style="border:0;" alt="" /></p></noscript> - <!-- End Piwik Code --> - ]]) f:write([[</body></html>]]) f:close(); end @@ -1092,22 +1076,6 @@ local function WriteHtmlClass(a_ClassAPI, a_ClassMenu, a_API) cf:write([[</td></tr></table></div><script>prettyPrint();</script>]]) cf:write(GetHtmlTimestamp()) - cf:write([[<!-- Piwik --> - <script type="text/javascript"> - var _paq = _paq || []; - _paq.push(['trackPageView']); - _paq.push(['enableLinkTracking']); - (function() { - var u="https://analytics.cuberite.org/"; - _paq.push(['setTrackerUrl', u+'piwik.php']); - _paq.push(['setSiteId', 5]); - var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; - g.type='text/javascript'; g.async=true; g.defer=true; g.src='piwik.js'; s.parentNode.insertBefore(g,s); - })(); - </script> - <noscript><p><img src="https://analytics.cuberite.org/piwik.php?idsite=5" style="border:0;" alt="" /></p></noscript> - <!-- End Piwik Code --> - ]]) cf:write([[</body></html>]]) cf:close() end @@ -1475,7 +1443,6 @@ local function DumpAPIHtml(a_API, a_Descs) local StaticFiles = { "main.css", - "piwik.js", "prettify.js", "prettify.css", "lang-lua.js", @@ -1495,22 +1462,6 @@ local function DumpAPIHtml(a_API, a_Descs) f:write([[</ul></div>]]) f:write(GetHtmlTimestamp()) - f:write([[<!-- Piwik --> - <script type="text/javascript"> - var _paq = _paq || []; - _paq.push(['trackPageView']); - _paq.push(['enableLinkTracking']); - (function() { - var u="https://analytics.cuberite.org/"; - _paq.push(['setTrackerUrl', u+'piwik.php']); - _paq.push(['setSiteId', 5]); - var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; - g.type='text/javascript'; g.async=true; g.defer=true; g.src='piwik.js'; s.parentNode.insertBefore(g,s); - })(); - </script> - <noscript><p><img src="https://analytics.cuberite.org/piwik.php?idsite=5" style="border:0;" alt="" /></p></noscript> - <!-- End Piwik Code --> - ]]) f:write([[</body></html>]]) f:close() |