[CLEANUP] Simplify method structures in IRRE JS 36/29836/7
authorAndreas Wolf <andreas.wolf@typo3.org>
Fri, 11 Jul 2014 11:45:39 +0000 (13:45 +0200)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Tue, 16 Dec 2014 14:19:49 +0000 (15:19 +0100)
commite451a415f6bf5b80cc64d4535aff0e8a016e6169
treedda111e1b571427204f731efc6d9498ea78c2399
parent3f228b1bd147ec57ee8a7ff067e88a03cb2dea32
[CLEANUP] Simplify method structures in IRRE JS

There were some deeply nested if-structures in the IRRE JS code, which
are replaced with guard clauses with early returns in this commit.

Change-Id: I8d16b1860679b96ce20a7f484bcccb5a1d395091
Related: #58475
Releases: master
Reviewed-on: http://review.typo3.org/29836
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.inline.js