Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 651 → Rev 652

/trunk/oidplus.min.js.php
29,8 → 29,8
$do_minify = OIDplus::baseConfig()->getValue('MINIFY_JS', true);
 
$files[] = process_file(__DIR__ . '/vendor/components/jquery/jquery.js');
if (!isInternetExplorer()) {
// There are several JS incompatibilities in Bootstrap 5:
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 {.....} = ....
37,11 → 37,11
// (more?)
// We don't include bootstrap.js for Internet Explorer.
// Therefore, the page is still displayed, although without fancy JS stuff of bootstrap
$files[] = process_file(__DIR__ . '/vendor/twbs/bootstrap/dist/js/bootstrap.js');
} else {
// 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');