Coding style
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user