dutchdog — 2014-03-08T14:26:37-05:00 — #1
I got this messy Jquery text , how do I read this properly per function ect as it opens as a ball of text in notepad++
I cant make any sense out of it and I need to remove some code but dont know where to look for it.
mittineague — 2014-03-08T15:05:01-05:00 — #2
Looks like you have the minified version - not human readable, but optimized for machines.
Can you you get a "non-min" version of the same code?
ralphm — 2014-03-08T16:42:39-05:00 — #3
Paste your code here http://jsbeautifier.org/ and press control + enter.
dutchdog — 2014-03-08T17:56:05-05:00 — #4
Sweet. Thanks... again... Ralph.
Appreciate it. Learning every day.
Why does one put a mini version on their website? Is that shorter even or just a different format of same type of code? And.. how does one convert a normal code back to mini?
felgall — 2014-03-08T18:50:59-05:00 — #5
The minified version is usually somewhere between 50% and 80% of the size of the original version and therefore will load significantly faster.
ralphm — 2014-03-08T21:26:14-05:00 — #6
No probs. Glad to help.
There are lots of tools for "minifying" JS, so a quick Google search will turn them up. I don't have any bookmarked, as I don't have much use for them ATM.