doubledee — 2011-03-18T10:48:14-04:00 — #1
How do I make the jQuery source code readable?
I would like to modify the code for this slide-show plug-in...
JQuery Cycle Plugin
...but the code is all lumped together into one unreadable heap.
paul_wilkins — 2011-03-18T17:37:25-04:00 — #2
That's the minified version of the code, which you can easily tell by the .min in the filename.
For example: jquery.min.js
If you want the uncompressed code, download it from their website.
It's not a good idea though to manually edit the source code of such libraries. There are almost always more appropriate ways to achieve your needs instead.
markbrown4 — 2011-03-18T17:48:47-04:00 — #3
The source code is on GitHub.
doubledee — 2011-03-18T18:14:17-04:00 — #4
I was looking for something like this...
domscripter — 2011-03-19T01:18:18-04:00 — #5
For reference, here are two more:
felgall — 2011-03-19T02:02:43-04:00 — #6
That one does seem to have several additional features beyond just formatting the supplied code. Now you've got me thinking about possibly adding some of those types of thing into my formatter script (mine does colour code the output which that one doesn't so I guess to some extent they complement one another).