mirror of
https://github.com/tcsenpai/Zundler.git
synced 2025-06-04 18:45:27 +00:00

This is because some documents alter itself using `document.write`, which can insert again tags (img, style, script) that expect to live in a normal environment. This commit also refactors some of the `retrieveFile` logic. The function should behave differently when called in the iframe vs the parent document.
14 lines
418 B
JavaScript
14 lines
418 B
JavaScript
var DOCUMENTATION_OPTIONS = {
|
|
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
|
|
VERSION: '',
|
|
LANGUAGE: 'en',
|
|
COLLAPSE_INDEX: false,
|
|
BUILDER: 'zundler',
|
|
FILE_SUFFIX: '.html',
|
|
LINK_SUFFIX: '.html',
|
|
HAS_SOURCE: true,
|
|
SOURCELINK_SUFFIX: '.txt',
|
|
NAVIGATION_WITH_KEYS: false,
|
|
SHOW_SEARCH_SUMMARY: true,
|
|
ENABLE_SEARCH_SHORTCUTS: true,
|
|
}; |