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