(instance)
| 7732 | } |
| 7733 | |
| 7734 | function hideInstance(instance) { |
| 7735 | // pass host context to this method? |
| 7736 | |
| 7737 | |
| 7738 | instance = instance; |
| 7739 | var style = instance.style; |
| 7740 | |
| 7741 | if (typeof style.setProperty === 'function') { |
| 7742 | style.setProperty('display', 'none', 'important'); |
| 7743 | } else { |
| 7744 | style.display = 'none'; |
| 7745 | } |
| 7746 | } |
| 7747 | function hideTextInstance(textInstance) { |
| 7748 | textInstance.nodeValue = ''; |
| 7749 | } |
no outgoing calls
no test coverage detected