[dokuwiki] Re: some more things that need a look

Andreas Gohr wrote:
Well I'm a lazy bastard. I used scriptaculous which builds on
prototype in a project at work. I got so used to using this just as a
handy shortcut for document.getElementById() I just can't live without
it anymore ;-) It also makes the JS smaller which is a good thing. If
the choice of a dollar as function name really was a good idea is
arguably but new developers on DokuWiki will probably recognize it so I
wouldn't change it.

Andi
Fair enough. I understand the typing thing. I see lots of these "it must be good as its smaller" arguments which seem spurious. javascript and css are served as text/javascript and text/css so surely should be able to be served compressed (removing the advantage) without any issues? Or am I wrong?

Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: