Search code examples
javascriptideformattingjcarousel

A tool to format a long minified JavaScript code (jCarousel)


I'd like to format JavaScript code of jCarousel to see what it does (to be able to debug it, and solve my problem). Visual Studio doesn't format it. Do you know any tool (free if you wish) to format long JS files?

This is how jCarousel minified code looks like:

enter image description here


this is what a formatted JS file:

enter image description here


Solution

  • The source code is available.. reading the project website sometimes helps.

    https://github.com/jsor/jcarousel

    Besides that, the unminified version is even included in the download archive...