APIDump: Offline prettify is working.

master
madmaxoft 2013-10-18 22:02:06 +02:00
parent 1e67ff3499
commit 1b7a84d494
1 changed files with 11 additions and 1 deletions

View File

@ -813,7 +813,14 @@ function WriteHtmlClass(a_ClassAPI, a_AllAPI)
end
end
cf:write(" </div>\n </body>\n</html>");
cf:write([[
</div>
<script>
prettyPrint();
</script>
</body>
</html>
]]);
cf:close();
end
@ -879,6 +886,9 @@ function WriteHtmlHook(a_Hook)
f:write(" <pre class=\"prettyprint lang-lua\">" .. (example.Code or "<i>missing Code</i>") .. "\n </pre>\n\n");
end
f:write([[ </div>
<script>
prettyPrint();
</script>
</body>
</html>]]);
f:close();