(shieldIndex, specialShield)
| 323 | } |
| 324 | |
| 325 | const checkSpecialShield = function(shieldIndex, specialShield) { |
| 326 | const shields = post.panels[currentlySelectedPanelIndex].sign.subPanels[currentlySelectedSubPanelIndex].shields; |
| 327 | const shield = shields[shieldIndex]; |
| 328 | const specialShieldType = Shield.prototype.specialBannerTypes[shield.type][specialShield]; |
| 329 | |
| 330 | if (specialShieldType != undefined) { |
| 331 | if (shield.routeNumber.length >= specialShieldType) { |
| 332 | return true; |
| 333 | } |
| 334 | } |
| 335 | |
| 336 | return false; |
| 337 | } |
| 338 | |
| 339 | // Read the form and update the page by redrawing it. |
| 340 | const readForm = function() { |
no outgoing calls
no test coverage detected