(instance)
| 11304 | } |
| 11305 | |
| 11306 | function hideInstance(instance) { |
| 11307 | // pass host context to this method? |
| 11308 | |
| 11309 | |
| 11310 | instance = instance; |
| 11311 | var style = instance.style; |
| 11312 | |
| 11313 | if (typeof style.setProperty === 'function') { |
| 11314 | style.setProperty('display', 'none', 'important'); |
| 11315 | } else { |
| 11316 | style.display = 'none'; |
| 11317 | } |
| 11318 | } |
| 11319 | function hideTextInstance(textInstance) { |
| 11320 | textInstance.nodeValue = ''; |
| 11321 | } |
no outgoing calls
no test coverage detected