-// Adminer specific functions
+'use strict'; // Adminer specific functions
/** Load syntax highlighting
* @param string first three characters of database system version
+'use strict';
/** Get first element by selector
* @param string
}
function minify_js($file) {
+ $file = preg_replace_callback("~'use strict';~", function ($match) { // keep only the first one
+ static $count = 0;
+ $count++;
+ return ($count == 1 ? $match[0] : '');
+ }, $file);
if (function_exists('jsShrink')) {
$file = jsShrink($file);
}
-// Editor specific functions
+'use strict'; // Editor specific functions
function messagesPrint() {
}