(a: HeaderFooterStyle, b: HeaderFooterStyle)
| 109 | } |
| 110 | |
| 111 | public static equals(a: HeaderFooterStyle, b: HeaderFooterStyle) { |
| 112 | const aIsVisible = a.isVisible !== undefined ? a.isVisible! : true; |
| 113 | const bIsVisible = b.isVisible !== undefined ? b.isVisible! : true; |
| 114 | |
| 115 | if (aIsVisible !== bIsVisible) { |
| 116 | return false; |
| 117 | } |
| 118 | if (a.template !== b.template) { |
| 119 | return false; |
| 120 | } |
| 121 | if (a.textAlign !== b.textAlign) { |
| 122 | return false; |
| 123 | } |
| 124 | return true; |
| 125 | } |
| 126 | |
| 127 | public buildText(score: Score) { |
| 128 | let anyPlaceholderFilled = false; |
no outgoing calls
no test coverage detected