File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,12 @@ FILESYSTEM_PROTOCOL = 'cdvfile';
23
23
24
24
module . exports = {
25
25
__format__ : function ( fullPath , internalUrl ) {
26
- // todo move to fileSystem like the toInternalUrl as above
27
26
console . error ( '__format__' , fullPath , internalUrl ) ;
28
27
var path = ( '/' + this . name + ( fullPath [ 0 ] === '/' ? '' : '/' ) + FileSystem . encodeURIPath ( fullPath ) ) . replace ( '//' , '/' ) ;
29
28
var cdvFilePath = FILESYSTEM_PROTOCOL + '://localhost' + path ;
30
29
31
30
if ( cdvFilePath && window && window . WkWebView ) { // https://github.com/apache/cordova-plugin-file/pull/457/commits/fea030f4e870ad7a2f07a8063c7da894ee9b2818
32
- var convertedFilePath = window . WkWebView . convertFilePath ( cdvFilePath ) ;
31
+ var convertedFilePath = window . WkWebView . convertFilePath ( cdvFilePath ) ;
33
32
console . error ( 'convertedFilePath' , cdvFilePath , convertedFilePath ) ;
34
33
return convertedFilePath ;
35
34
}
You can’t perform that action at this time.
0 commit comments