()
| 26 | |
| 27 | |
| 28 | function getTestContainer() { |
| 29 | function createTestContainer() { |
| 30 | var testContainer = goog.dom.createDom('DIV', { |
| 31 | id: 'test-container', |
| 32 | style: 'border: 1px dotted silver' |
| 33 | }, goog.dom.createDom('DIV', { |
| 34 | style: 'font-weight:bold;' + |
| 35 | 'text-decoration:underline;' + |
| 36 | 'font-style:italic;' + |
| 37 | 'margin: 0.5em' |
| 38 | }, 'Test Container')); |
| 39 | document.body.appendChild(testContainer); |
| 40 | return testContainer; |
| 41 | } |
| 42 | |
| 43 | return goog.dom.getElement('test-container') || createTestContainer(); |
| 44 | } |
| 45 | |
| 46 | |
| 47 | /** |
no test coverage detected