https://bugzilla.wikimedia.org/show_bug.cgi?id=28626

P.Copp <paul.copper...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paul.copper...@gmail.com

--- Comment #7 from P.Copp <paul.copper...@gmail.com> 2011-05-03 13:29:17 UTC 
---
(In reply to comment #4)
> The current minifier essentially parses JS, it may be possible to tweak it to
> validate the syntax too.
The minifier uses a very reduced js grammar to simplify the code and speed up
the process. Expanding it to fully validate the syntax would make it similar to
jsminplus, which is way slower and more complex.
I'd suggest to only check the syntax on save for gadget pages and user js pages
and display a warning to the user if it fails.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to