( code, doc )
| 74 | |
| 75 | |
| 76 | function DOMEval( code, doc ) { |
| 77 | doc = doc || document; |
| 78 | |
| 79 | var script = doc.createElement( "script" ); |
| 80 | |
| 81 | script.text = code; |
| 82 | doc.head.appendChild( script ).parentNode.removeChild( script ); |
| 83 | } |
| 84 | /* global Symbol */ |
| 85 | // Defining this global in .eslintrc.json would create a danger of using the global |
| 86 | // unguarded in another place, it seems safer to define global only for this module |
no outgoing calls
no test coverage detected
searching dependent graphs…