Bug Tracker

Opened 12 years ago

Closed 12 years ago

#9956 closed bug (wontfix)

Jquery 1.6.2 comment problem

Reported by: [email protected] Owned by:
Priority: low Milestone: None
Component: misc Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:


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 (1)

comment:1 Changed 12 years ago by addyosmani

Component: unfiledmisc
Priority: undecidedlow
Resolution: wontfix
Status: newclosed

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.

Note: See TracTickets for help on using tickets.