D28666: Refactor for loops

Carson Black noreply at phabricator.kde.org
Tue Apr 7 21:59:36 BST 2020


cblack created this revision.
cblack added a reviewer: Kirigami.
Herald added a project: Kirigami.
Herald added a subscriber: plasma-devel.
cblack requested review of this revision.

REVISION SUMMARY
  For loops have been refactored to use more idiomatic JavaScript functions (`filter()`, `some()`, `forEach()`) where appropriate.

TEST PLAN
  Ensure no regressions in modified components

REPOSITORY
  R169 Kirigami

BRANCH
  cblack/for-refactor (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D28666

AFFECTED FILES
  src/controls/Action.qml
  src/controls/CardsLayout.qml
  src/controls/ContextDrawer.qml
  src/controls/FormLayout.qml
  src/controls/templates/SwipeListItem.qml
  src/controls/templates/private/PassiveNotification.qml

To: cblack, #kirigami
Cc: plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, ngraham, apol, ahiemstra, davidedmundson, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200407/cf2783ff/attachment.html>


More information about the Plasma-devel mailing list