jsmin-php icon indicating copy to clipboard operation
jsmin-php copied to clipboard

:skull: PHP port of Douglas Crockford's JSMin JavaScript minifier. No longer maintained.

Results 5 jsmin-php issues
Sort by recently updated
recently updated
newest added

Problem with regular expression containing \//. It treats it as a comment. Noticed when tried to minify JQuery Mobile library.

Script source, containing `var s = " "` (real tab) , is broken by jsmin.php, wich replaces all chars below SPACE by space char. JSMin should preverse all chars within...

Hello, If you have javascript variable that starts with '$' jsmin-php parse it incorrectly resulting in javascript error. In mootools/mif tree project (http://github.com/creaven/miftree) the author use this.$ = {} or...

Hi, We are currently experiencing problems with using JSMin. The javascript code that causes us problems is this: ``` var pattern=/^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/; ``` The usage is this: $jsmin_php = JSMin::minify(file_get_contents("error.js")); echo...

I got this error... Don't know from where when i minify this file below $(document).ready(function () { /** \* FullCalendar v1.5.1 \* http://arshaw.com/fullcalendar/ * \* Use fullcalendar.css for basic styling....