I use google-code-prettify in an ASP.NET MVC 4 project. It works in debug mode, but the minimization / linking step is not performed in the release.
I get this error:
"Minification failed. Return unminified contents. (104,399-436): JS5017 runtime error: regular expression syntax error: / ^ (?: \ \ | [\ S \ S]) [^ \ \ # = A - [^ 'h {~] / "
File he complains about: lang-wiki.js
This is the latest version of google, and it runs in debugging, so I can only assume that the union does not parse the regular expression correctly.
Besides deleting this file, what else can I do? Ideally, I would like to disable any error by checking for connection step attempts.
I use the following versions:
- Microsoft.AspNet.Mvc.4.0.20710.0
- Microsoft.AspNet.Web.Optimization.1.1.3
I tried to reduce these files using the YUI Compressor , and it works in a way that seems to support the wrong parsing theory.
David source
share