[wp-trac] [WordPress Trac] #19065: Please provide original javascript files (.dev.js) for all minified files
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 27 10:19:04 UTC 2011
#19065: Please provide original javascript files (.dev.js) for all minified files
--------------------------+-----------------------------
Reporter: rhertzog | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
Please provide original javascript files (.dev.js) for all minified files.
This is not only useful for debugging, it's also a requirement of some
free software distributions like Debian (cf the bug report that prompted
all this: http://bugs.debian.org/646729).
Missing files that I noted are (relative to wp-includes/js):
{{{
crop/cropper.dev.js
jquery/jquery.dev.js
jquery/jquery.query.dev.js
jquery/jquery.schedule.dev.js
jquery/jquery.serialize-object.dev.js
jquery/ui/*.dev.js (all *.js files are minified)
plupload/plupload.*.dev.js (all plupload.*.js files are minified)
swfupload/swfupload-all.dev.js
tinymce/tiny_mce.dev.js
tinymce/tiny_mce_popup.dev.js
tinymce/plugins/*/editor_plugin.dev.js (all plugins except the WP ones)
tinymce/themes/advanced/editor_template.js
tinymce/wp-tinymce.dev.js.gz
swfobject.dev.js
}}}
I'm not really sure about swfupload/swfupload-all.js, if it's swfupload.js
+ the 4 plugins minified, then it's ok I guess. But it would be nice to
have it documented.
tinymce/wp-tinymce.dev.js.gz is probably also generated from something
else but I could not figure out what. It would be nice to document how and
when to regenerate it.
I can help to dig out the required files if it helps. Ideally the build
process of wordpress would include a way to regenerate automatically the
minified files from the corresponding .dev.js file.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19065>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list