( win, location, filename, opt_isLocalDev )
| 61 | * @return {string} |
| 62 | */ |
| 63 | export function calculateExtensionFileUrl( |
| 64 | win, |
| 65 | location, |
| 66 | filename, |
| 67 | opt_isLocalDev |
| 68 | ) { |
| 69 | const base = calculateScriptBaseUrl(location, opt_isLocalDev); |
| 70 | const rtv = getMode(win).rtvVersion; |
| 71 | return `${base}/rtv/${rtv}/v0/${filename}`; |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * Calculate script url for an entry point. |
no test coverage detected