mediawiki.log.js: Refactor
authorKrinkle <krinkle@users.mediawiki.org>
Sat, 10 Sep 2011 22:18:39 +0000 (22:18 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Sat, 10 Sep 2011 22:18:39 +0000 (22:18 +0000)
commit0b117dc5065b381496f0d1d958752b1935117c7b
treec7f18b670e1d01f30ced9a8ab846b49fcc432a75
parentf77f9ebab86925fa579b0eacda58c59d59de6aaf
mediawiki.log.js: Refactor
* Add @author info etc. to the file header
* Merge var statements
* remove single quotes around object keys where not needed
* Changing bottom padding on <body> to be relatively added instead of absolutely (body might have a bottom padding already!)
* Add return statement after reaching out to window.console. No need for the rest of the function to be executed in that case. outdenting the rest after the new return statement back one tab (thus removing the else-case)
resources/mediawiki/mediawiki.log.js