Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 1348 → Rev 1349

/trunk/oidplus.min.js.php
31,20 → 31,7
$do_minify = OIDplus::baseConfig()->getValue('MINIFY_JS', true);
 
$files[] = process_file(__DIR__ . '/vendor/components/jquery/jquery.js');
if (isInternetExplorer()) {
// There are several JS IE11 incompatibilities in Bootstrap 5:
// - "const getUID = prefix => {" which is another syntax of "getUID: function getUID(prefix) {"
// - "Template strings" `...`
// - let {.....} = ....
// (more?)
// We don't include bootstrap.js for Internet Explorer.
// Therefore, the page is still displayed, although without fancy JS stuff of bootstrap
// Use bootstrap 4.5.0 JS as fallback (Note that the CSS is still 5.x!)
$files[] = process_file(__DIR__ . '/vendor/bootstrap4.min.js');
$files[] = process_file(__DIR__ . '/vendor/ie11CustomProperties.min.js');
} else {
$files[] = process_file(__DIR__ . '/vendor/twbs/bootstrap/dist/js/bootstrap.js');
}
$files[] = process_file(__DIR__ . '/vendor/vakata/jstree/dist/jstree.js');
$files[] = process_file(__DIR__ . '/vendor/tinymce/tinymce/tinymce.js');
$files[] = process_file(__DIR__ . '/vendor/components/jqueryui/jquery-ui.js');
51,11 → 38,7
$files[] = process_file(__DIR__ . '/vendor/gedmarc/layout/dist/jquery.layout_and_plugins.js');
$files[] = process_file(__DIR__ . '/vendor/spamspan/spamspan/spamspan.js');
$files[] = process_file(__DIR__ . '/vendor/emn178/js-sha3/src/sha3.js');
if (!isInternetExplorer()) {
// Non IE gets Toast instead of alert() for some message types
// (BS5 Utils is not compatible with Internet Explorer)
$files[] = process_file(__DIR__ . '/vendor/script47/bs5-utils/dist/js/Bs5Utils.js');
}
 
# ---