bootstrap-filestyle icon indicating copy to clipboard operation
bootstrap-filestyle copied to clipboard

JavaScript minification errors when trying to use JsMinify

Open YovavGad opened this issue 11 years ago • 1 comments

Looks like "not all code paths return a value"

/* Minification failed. Returning unminified contents. (400,6304): run-time error JS1004: Expected ';' (400,6304-6305): run-time error JS1195: Expected expression: : (400,6346-6347): run-time error JS1002: Syntax error: } (400,6362-6363): run-time error JS1002: Syntax error: } (400,6363-6364): run-time error JS1195: Expected expression: ) (400,6364-6365): run-time error JS1002: Syntax error: } (400,6365-6366): run-time error JS1195: Expected expression: ) (400,6366-6367): run-time error JS1002: Syntax error: } (400,6367-6368): run-time error JS1195: Expected expression: ) */

YovavGad avatar Feb 16 '15 18:02 YovavGad

From experience never compress a file already compressed it always generates errors. Try using the uncompressed file in your project.

markusslima avatar Apr 14 '15 11:04 markusslima