cordova-file-cache
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -294,4 +294,4 @@ var CordovaFileCache = | ||
} | ||
url = url = this._fs.normalize(url || ''); | ||
len = this.serverRoot.length; | ||
url = this._fs.normalize(url || ''); | ||
var len = this.serverRoot.length; | ||
if(url.substr(0,len) !== this.serverRoot) { | ||
@@ -298,0 +298,0 @@ return this.localRoot + url; |
@@ -247,4 +247,4 @@ var hash = require('./murmerhash'); | ||
} | ||
url = url = this._fs.normalize(url || ''); | ||
len = this.serverRoot.length; | ||
url = this._fs.normalize(url || ''); | ||
var len = this.serverRoot.length; | ||
if(url.substr(0,len) !== this.serverRoot) { | ||
@@ -251,0 +251,0 @@ return this.localRoot + url; |
{ | ||
"name": "cordova-file-cache", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Cordova File Cache", | ||
@@ -20,6 +20,3 @@ "main": "index.js", | ||
"author": "Mark Marijnissen", | ||
"license": "MIT", | ||
"dependencies": { | ||
"cordova-promise-fs": "^1.1.0" | ||
} | ||
"license": "MIT" | ||
} |
@@ -16,5 +16,5 @@ cordova-file-cache | ||
# install Cordova and plugins | ||
cordova platform add ios@3.7.0 | ||
cordova plugin add org.apache.cordova.file | ||
cordova plugin add org.apache.cordova.file-transfer # optional | ||
cordova platform add ios | ||
cordova plugin add cordova-plugin-file | ||
cordova plugin add cordova-plugin-file-transfer # optional | ||
``` | ||
@@ -21,0 +21,0 @@ |
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
0
111117
15
- Removedcordova-promise-fs@^1.1.0
- Removedcordova-promise-fs@1.2.5(transitive)