(specifier, parentURL = undefined, options)
| 1007 | ); |
| 1008 | |
| 1009 | function register(specifier, parentURL = undefined, options) { |
| 1010 | emitRegisterDeprecation(); |
| 1011 | |
| 1012 | if (parentURL != null && typeof parentURL === 'object' && !isURL(parentURL)) { |
| 1013 | options = parentURL; |
| 1014 | parentURL = options.parentURL; |
| 1015 | } |
| 1016 | getOrInitializeCascadedLoader().register( |
| 1017 | specifier, |
| 1018 | parentURL ?? 'data:', |
| 1019 | options?.data, |
| 1020 | options?.transferList, |
| 1021 | ); |
| 1022 | } |
| 1023 | |
| 1024 | module.exports = { |
| 1025 | createModuleLoader, |
nothing calls this directly
no test coverage detected
searching dependent graphs…