Bug Tracker

Modify

Ticket #9956 (closed bug: wontfix)

Opened 23 months ago

Last modified 23 months ago

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

comment:1 Changed 23 months ago by addyosmani

  • Priority changed from undecided to low
  • Resolution set to wontfix
  • Status changed from new to closed
  • Component changed from unfiled to misc

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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.