If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Looking for criticism on my JavaScript application prettydiff.com

I am looking for any criticism of the JavaScript application located at http://prettydiff.com/. Any criticism or suggestions are greatly appreciated.

The application is a diff tool that minifies code and then beautifies the code before performing the diff operation so that code on one line can be compared to similar code on thousands of lines. Since there is a minifier and a beautifier required for the diff operation the minify and beautify operations can be used directly by changing the first set of options.

I don't know how much the following should bias any criticism, but it seems to define the relative audience. The actual application code is broken out from any single API, such as the DOM. The web UI can use the same application code as WSH from a Windows command line or with anything that uses Common.js, such as Node.js. I am not accurately tracking usage in Google Analytics to determine which API is getting the most use, but I am starting to believe this tool is getting more use in automated builds of internet networks than use from the browser.

I have gotten a lot of criticism on the color scheme, so I am currently working on a way to dynamically choose between color schemes.

what it can do for me.

I ran the beautify tool on my AXAJ interface to see what it was all about. I got a report on my usage of Javascript. By inspection I can tell if I have matching defaults for every switch statement,. You could place one underneath the other, as I would think of it, but who am I to think for you?

I could also tell if the code was heavily "for" laden, as well as knowing how many document accesses in that javascript file. Perhaps even identifying too many if-elses that could be replaced by switch statements.

The beautification looked a lot like the little I have seen of Jquery formating!