You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by kn...@apache.org on 2019/03/07 05:01:30 UTC
[cordova-plugin-file] branch travis_tests updated:
requestFileSystem is updated for safari
This is an automated email from the ASF dual-hosted git repository.
knaito pushed a commit to branch travis_tests
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-file.git
The following commit(s) were added to refs/heads/travis_tests by this push:
new 9e488f2 requestFileSystem is updated for safari
9e488f2 is described below
commit 9e488f2fbf406f6c66b1226411e44467f8bc033e
Author: knaito <kn...@asial.co.jp>
AuthorDate: Thu Mar 7 14:01:11 2019 +0900
requestFileSystem is updated for safari
---
www/requestFileSystem.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/requestFileSystem.js b/www/requestFileSystem.js
index d9110cd..8977af3 100644
--- a/www/requestFileSystem.js
+++ b/www/requestFileSystem.js
@@ -22,7 +22,7 @@
(function () {
// For browser platform: not all browsers use this file.
function checkBrowser () {
- if (cordova.platformId === 'browser' && require('./isChrome')()) { // eslint-disable-line no-undef
+ if (cordova.platformId === 'browser' && (require('./isChrome')() || require('./isSafari')())) { // eslint-disable-line no-undef
module.exports = window.requestFileSystem || window.webkitRequestFileSystem;
return true;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org