I've got a 7k-line javascript file that I'm trying to make readable and
drastically reduce the size of.
Essentially I have several hundred lines like
hideField(fieldName())
which I would like to turn into
$('#field_name').hide()
and then I could delete several hundred lines of these hideField, showField,
fieldAName(), fieldBName(), etc functions which are essentially just wasting
space and overcomplicating the code.
I don't have enough regex-fu under my belt to have any reasonable idea of
how to do this.
Could any of you offer me some suggestions?
AJ ONeal
--------------------
BYU Unix Users Group
http://uug.byu.edu/
The opinions expressed in this message are the responsibility of their
author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG.
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list