Skip to main content

Bug Tracker

Side navigation

#9956 closed bug (wontfix)

Opened August 02, 2011 09:02AM UTC

Closed August 02, 2011 12:59PM UTC

Jquery 1.6.2 comment problem

Reported by: Owned by:
Priority: low Milestone: None
Component: misc Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:
Description has a problem


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

Attachments (0)
Change History (1)

Changed August 02, 2011 12:59PM UTC by addyosmani comment:1

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.