(name)
| 357 | } |
| 358 | |
| 359 | function removeScript(name) { |
| 360 | if (isBrowser) { |
| 361 | each(scripts(), function (scriptNode) { |
| 362 | if (scriptNode.getAttribute('data-requiremodule') === name && |
| 363 | scriptNode.getAttribute('data-requirecontext') === context.contextName) { |
| 364 | scriptNode.parentNode.removeChild(scriptNode); |
| 365 | return true; |
| 366 | } |
| 367 | }); |
| 368 | } |
| 369 | } |
| 370 | |
| 371 | function hasPathFallback(id) { |
| 372 | var pathConfig = getOwn(config.paths, id); |
no test coverage detected