(id)
| 373 | } |
| 374 | |
| 375 | function hasPathFallback(id) { |
| 376 | var pathConfig = getOwn(config.paths, id); |
| 377 | if (pathConfig && isArray(pathConfig) && pathConfig.length > 1) { |
| 378 | //Pop off the first array value, since it failed, and |
| 379 | //retry |
| 380 | pathConfig.shift(); |
| 381 | context.require.undef(id); |
| 382 | context.require([id]); |
| 383 | return true; |
| 384 | } |
| 385 | } |
| 386 | |
| 387 | //Turns a plugin!resource to [plugin, resource] |
| 388 | //with the plugin being undefined if the name |
no test coverage detected
searching dependent graphs…