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