(strategy, fileList, assetPath, options)
| 1395 | } |
| 1396 | |
| 1397 | function allowImport(strategy, fileList, assetPath, options) { |
| 1398 | if (strategy === 'firstOneWins') { |
| 1399 | // We must find all occurrences and decide what to do with each. |
| 1400 | return _firstOneWins.call(undefined, fileList, assetPath, options); |
| 1401 | } else if (strategy === 'lastOneWins') { |
| 1402 | // We can simply use the "last one wins" strategy. |
| 1403 | return _lastOneWins.call(undefined, fileList, assetPath, options); |
| 1404 | } else { |
| 1405 | return true; |
| 1406 | } |
| 1407 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…