Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 640 → Rev 641

/trunk/oidplus.min.js.php
29,7 → 29,20
$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:
// - "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
$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');
}
$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');