Modify ↓
Ticket #9956 (closed bug: wontfix)
Jquery 1.6.2 comment problem
| Reported by: | shobz@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | misc | Version: | 1.6.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
http://code.jquery.com/jquery-1.6.2.min.js has a problem :$/,bI=/(?:GET|HEAD)$/,bJ=/\/\,bK=/\?/,bL=
this acts as comment and then the whole script is not working when I am removing whitespaces and comments of .js files in C#.
can you please tell me what to do now :S
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Thanks for submitting a ticket!. Unfortunately, we are unable to guarantee how well the minified version of jQuery will function once it's been passed through another third party script processor or minification proces (we currently already pass it through UglifyJS with an optimized configuration profile). What I recommend doing instead is simply excluding jQuery from the minification/comment/whitespace-stripping routine you're using and if you happen to be concatenating your files, include it there. This should allow you to still be able to use jQuery without needing to worry about compatibility with the minifier you're using.