Use capitalized camel for all classes

This commit is contained in:
David Heinemeier Hansson
2026-05-20 22:00:10 +02:00
parent ac859b5157
commit f9a2685aab
42 changed files with 129 additions and 135 deletions
+3 -6
View File
@@ -31,7 +31,7 @@ Item {
property var fallbackBarConfig: ({
position: "top",
transparent: false,
centerAnchor: "clock",
centerAnchor: "Clock",
layout: { left: [], center: [], right: [] }
})
property var layoutConfig: fallbackBarConfig.layout
@@ -130,7 +130,7 @@ Item {
var trayEntry = null
var result = []
for (var i = 0; i < entries.length; i++) {
if (entryId(entries[i]) === "tray") trayEntry = entries[i]
if (entryId(entries[i]) === "Tray") trayEntry = entries[i]
else result.push(entries[i])
}
if (trayEntry) {
@@ -205,10 +205,7 @@ Item {
}
function canonicalWidgetId(name) {
switch (String(name)) {
case "weatherFlyout": return "weather"
default: return String(name)
}
return String(name)
}
function expandPath(path) {