Closed whitecat closed 8 years ago
I think you are in the wrong page @whitecat I'm not part of MobileChromeApps, and this plugin does not work as you describe in your post. Anyway I will be glad if you decide to migrate to this plugin ;)
What is the difference between yours and this one? I tried the following code and I also got a similar error:
$scope.unzip = function() {
var elem = document.getElementById("result");
elem.innerHTML = "pushed"
src = "data/translink/recent.zip"
dest = "data/translink/"
$JJzip.unzip(
src,
dest
).then(function () {
elem.innerHTML = "success"
console.log('success');
}, function () {
console.log('error');
}, function (progressEvent) {
console.log(progressEvent);
});
They are just different @whitecat (In plain words, they don't fork me and I don't fork them, so is just a different approach for the same problem), More detailed:
Anyway, you are still invite tu use this one if you prefer, just please read the doc (Readme) first ;)
When I add the function
I get the the following:
Error: undefined is not an object (evaluating '$window.zip.unzip')
Are there additional packages that need to be installed to make
$window.zip
defined?