cblack added a comment.
In D28666#644079 <https://phabricator.kde.org/D28666#644079>, @ngraham wrote: > I'm not a Javascript expert, but the old/current versions seem much more readable to me. Is there a performance advantage to your proposed new versions? No, the main point is writing idiomatic JavaScript. To people familiar with idiomatic JavaScript, these constructs will immediately let them know what's going on instead of them having to parse a multiline structure. REPOSITORY R169 Kirigami REVISION DETAIL https://phabricator.kde.org/D28666 To: cblack, #kirigami Cc: broulik, ngraham, plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, apol, ahiemstra, davidedmundson, mart