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