D12893: Fix Logout screen countdown not cancelling on multi-monitor setups
Vlad Zagorodniy
noreply at phabricator.kde.org
Tue May 15 11:15:51 UTC 2018
zzag added a comment.
@broulik: `for ... in` iterates over the enumerable properties. This would lead to "weird unexpected"(not really) results. ECMAScript 2015 introduced `for ... of` statement that iterates over data. In most cases, `for ... of` should be preferred over `for ... in`, unless someone wants to iterate over properties.
AFAIK, QML JavaScript doesn't support `let`, arrow functions, spread operator, `for ... of` statement, and other "new" cool features in JavaScript.
REPOSITORY
R120 Plasma Workspace
REVISION DETAIL
https://phabricator.kde.org/D12893
To: davidedmundson, #plasma
Cc: zzag, broulik, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180515/604cd555/attachment.html>
More information about the Plasma-devel
mailing list