Karl Dahlke <[email protected]> writes:

> called js_befuddle(), that strips the whitespace and comments

It's called a JS minifier, and they're quite common.  When I worked at
Google, we used something called Closure, which compiles JS into
"compact, optimized code".  Part of my work there involved writing the
occasional JavaScript.  I'd write nice readable JavaScript, and Closure
would compile it into the inscrutable dog vomit of which you speak.
Minification is part of that compilation process.

I'm not spilling any secrets, as Closure is available to the general
public.

-- Chris
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to