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