mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-01-14 00:47:54 -05:00
19 lines
455 B
JavaScript
19 lines
455 B
JavaScript
/*
|
|
Author: Vishal Rajpal
|
|
Filename: ZipPlugin.js
|
|
Created Date: 21-02-2012
|
|
Modified Date: 04-04-2012
|
|
*/
|
|
|
|
var ExtractZipFilePlugin=function(){
|
|
};
|
|
|
|
PhoneGap.addConstructor(function()
|
|
{
|
|
PhoneGap.addPlugin('ExtractZipFilePlugin', new ExtractZipFilePlugin());
|
|
});
|
|
|
|
ExtractZipFilePlugin.prototype.extractFile = function(file, successCallback, errorCallback)
|
|
{
|
|
return PhoneGap.exec(successCallback, errorCallback, "ZipPlugin", "extract", [file]);
|
|
}; |