Coding style

This commit is contained in:
Adrien Maston
2026-03-09 16:38:22 +01:00
parent d746b86e70
commit 5a9fd6b975
@@ -18,7 +18,7 @@ BridgeElement.prototype.getStamp = function() {
}
BridgeElement.prototype.getIcon = function() {
const url = this.bridgeAttribute(`icon-url`)
const url = this.bridgeAttribute("icon-url")
if (url) {
return { url }
@@ -28,17 +28,17 @@ BridgeElement.prototype.getIcon = function() {
}
BridgeElement.prototype.getDate = function() {
return this.bridgeAttribute(`date`) ?? null
return this.bridgeAttribute("date") ?? null
}
BridgeElement.prototype.getBy = function() {
return this.bridgeAttribute(`by`) ?? null
return this.bridgeAttribute("by") ?? null
}
BridgeElement.prototype.getDisplayTitle = function() {
return !!this.bridgeAttribute(`display-title`)
return !!this.bridgeAttribute("display-title")
}
BridgeElement.prototype.getDisplayAsPrimaryAction = function() {
return !!this.bridgeAttribute(`display-as-primary-action`)
return !!this.bridgeAttribute("display-as-primary-action")
}