mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-04 15:09:17 +02:00
files_reader: #37, Palemoon (browser) does not hoist JS functions in block scope
This commit is contained in:
parent
3039417b6c
commit
dd9cc37ec8
1 changed files with 29 additions and 29 deletions
|
@ -97,6 +97,7 @@ document.onreadystatechange = function () {
|
||||||
default:
|
default:
|
||||||
console.log(type + ' is not supported by Reader');
|
console.log(type + ' is not supported by Reader');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// why is there no standard library function for this?
|
// why is there no standard library function for this?
|
||||||
function getUrlParameter (param) {
|
function getUrlParameter (param) {
|
||||||
|
@ -134,6 +135,5 @@ document.onreadystatechange = function () {
|
||||||
|
|
||||||
var reader = cbReader(file, options);
|
var reader = cbReader(file, options);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue