cordova-promise-fs
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -193,10 +193,3 @@ var CordovaPromiseFS = | ||
var system = options.fileSystem || 'cachedir'; | ||
xwalk.experimental.native_file_system.requestNativeFileSystem(system,function(fs){ | ||
fs.root.getDirectory(system, {create: false}, function(dirEntry) { | ||
resolve({ | ||
name: fs.name, | ||
root: dirEntry | ||
}); | ||
}, reject); | ||
},reject); | ||
xwalk.experimental.native_file_system.requestNativeFileSystem(system,resolve,reject); | ||
// On chrome, request quota to store persistent files | ||
@@ -203,0 +196,0 @@ } else if (!isCordova && type === 1 && navigator.webkitPersistentStorage) { |
@@ -146,10 +146,3 @@ /** | ||
var system = options.fileSystem || 'cachedir'; | ||
xwalk.experimental.native_file_system.requestNativeFileSystem(system,function(fs){ | ||
fs.root.getDirectory(system, {create: false}, function(dirEntry) { | ||
resolve({ | ||
name: fs.name, | ||
root: dirEntry | ||
}); | ||
}, reject); | ||
},reject); | ||
xwalk.experimental.native_file_system.requestNativeFileSystem(system,resolve,reject); | ||
// On chrome, request quota to store persistent files | ||
@@ -156,0 +149,0 @@ } else if (!isCordova && type === 1 && navigator.webkitPersistentStorage) { |
{ | ||
"name": "cordova-promise-fs", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Cordova FileSystem convienence functions that return promises.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
132159
3916