File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,12 @@ FILESYSTEM_PROTOCOL = 'cdvfile';
2323
2424module . exports = {
2525 __format__ : function ( fullPath , internalUrl ) {
26- // todo move to fileSystem like the toInternalUrl as above
2726 console . error ( '__format__' , fullPath , internalUrl ) ;
2827 var path = ( '/' + this . name + ( fullPath [ 0 ] === '/' ? '' : '/' ) + FileSystem . encodeURIPath ( fullPath ) ) . replace ( '//' , '/' ) ;
2928 var cdvFilePath = FILESYSTEM_PROTOCOL + '://localhost' + path ;
3029
3130 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 ) ;
3332 console . error ( 'convertedFilePath' , cdvFilePath , convertedFilePath ) ;
3433 return convertedFilePath ;
3534 }
You can’t perform that action at this time.
0 commit comments