Skip to content

applets/digital-clock: Improve JavaScript/QML code style

ivan tkachenko requested to merge work/ratijas/clock-cleanup into master

Add myself to copyright header

Forgot to do it during recent layouts refactoring.

Fix font property initialization

I wonder how this did not even emit any warnings, because there is just no such function in Qt global object.

Amends e94e21f2

Improve JavaScript/QML code style

Notably, using some newer JavaScript API such as Array.prototype.findIndex() instead of old crusty i++ loops.

Merge request reports