(string, url)
| 166 | } |
| 167 | |
| 168 | addInlineScript(string, url) { |
| 169 | const match = (new Error().stack).split('\n')[2].match(/([0-9]+):([0-9]+)/); |
| 170 | this.addScript( |
| 171 | string, match[1] * 1, match[1] * 1 + '.addInlineScript('.length, url); |
| 172 | } |
| 173 | |
| 174 | addModule(string, url, lineOffset, columnOffset) { |
| 175 | utils.compileAndRunWithOrigin(this.id, string, url, lineOffset || 0, columnOffset || 0, true); |
no test coverage detected