We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
latest version of the minify js, removes all the datatables script on the step of whiteSpace cleaning.
I track down the script line by line, found the for-loop part that removes all the content.
$content = preg_replace('/(for\((?:[^;\{]*|[^;\{]*function[^;\{]*(\{([^\{\}]*(?-2))*[^\{\}]*\})?[^;\{]*);[^;\{]*;[^;\{]*\));(\}|$)/s', '\\1;;\\4', $content);
I just modified the line to prevent the script being emptied.
$old_content = $content; $content = preg_replace('/(for\((?:[^;\{]*|[^;\{]*function[^;\{]*(\{([^\{\}]*(?-2))*[^\{\}]*\})?[^;\{]*);[^;\{]*;[^;\{]*\));(\}|$)/s', '\\1;;\\4', $content); if (empty($content)) { $content = $old_content; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
latest version of the minify js, removes all the datatables script on the step of whiteSpace cleaning.
I track down the script line by line, found the for-loop part that removes all the content.
I just modified the line to prevent the script being emptied.
The text was updated successfully, but these errors were encountered: