Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#11634 closed enhancement (wontfix)

Better minified Jcrop Script

Reported by: simek's profile Simek Owned by: azaozz's profile azaozz
Milestone: Priority: low
Severity: normal Version: 2.9
Component: JavaScript Keywords: has-patch tested dev-feedback 2nd-opinion
Focuses: Cc:

Description

I've used YUI Compressor to get better minified file than original - 26% size reduction.

I've tested new file on my blog - everything seems to work well.

Attachments (1)

jcrop.minified.patch (29.2 KB) - added by Simek 15 years ago.

Download all attachments as: .zip

Change History (4)

#1 @hakre
15 years ago

  • Keywords dev-feedback 2nd-opinion added

Can't that be done like with the other .dev.js scripts?

#2 @azaozz
15 years ago

Generally don't think it is a good idea to modify any external files/libraries unless absolutely necessary. Makes it much harder to debug them. That's the reason Prototype.js is not minified too (no official minified version exists).

Jcrop.js has official minified version (not done with YUI Compressor) that is currently used.

#3 @nacin
15 years ago

  • Milestone 3.0 deleted
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.