mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Backout of pull request #9345
This commit is contained in:
parent
70cad2f053
commit
057994d781
2 changed files with 4 additions and 19 deletions
|
@ -536,14 +536,6 @@ function noContextMenuHandler(evt) {
|
|||
evt.preventDefault();
|
||||
}
|
||||
|
||||
function isFileSchema(url) {
|
||||
let i = 0, ii = url.length;
|
||||
while (i < ii && url[i].trim() === '') {
|
||||
i++;
|
||||
}
|
||||
return url.substr(i, 7).toLowerCase() === 'file://';
|
||||
}
|
||||
|
||||
function isDataSchema(url) {
|
||||
let i = 0, ii = url.length;
|
||||
while (i < ii && url[i].trim() === '') {
|
||||
|
@ -843,7 +835,6 @@ export {
|
|||
VERTICAL_PADDING,
|
||||
isValidRotation,
|
||||
isPortraitOrientation,
|
||||
isFileSchema,
|
||||
cloneObj,
|
||||
PresentationModeState,
|
||||
RendererType,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue