(filename)
| 713 | |
| 714 | // Indicates whether filename is a base64 data URI. |
| 715 | function isDataURI(filename) { |
| 716 | // Prefix of data URIs emitted by SINGLE_FILE and related options. |
| 717 | return filename.startsWith(dataURIPrefix); |
| 718 | } |
| 719 | |
| 720 | // Indicates whether filename is delivered via file protocol (as opposed to http/https) |
| 721 | function isFileURI(filename) { |
no outgoing calls
no test coverage detected