diff --git a/common/Native/native.js b/common/Native/native.js index ab4b1f5e44..9562151ffb 100755 --- a/common/Native/native.js +++ b/common/Native/native.js @@ -341,43 +341,3 @@ var performance = window.performance = (function(){ now : function() { return Date.now() - basePerformanceOffset; } }; })(); - -(function(window, undefined){ - function ZLib() - { - /** @suppress {checkVars} */ - this.engine = CreateNativeZip(); - this.files = {}; - } - ZLib.prototype.isModuleInit = true; - ZLib.prototype.open = function(buf) - { - return this.engine.open((undefined !== buf.byteLength) ? new Uint8Array(buf) : buf); - }; - ZLib.prototype.create = function() - { - return this.engine.create(); - }; - ZLib.prototype.save = function() - { - return this.engine.save(); - }; - ZLib.prototype.getFile = function(path) - { - return this.engine.getFile(path); - }; - ZLib.prototype.addFile = function(path, data) - { - return this.engine.addFile(path, (undefined !== data.byteLength) ? new Uint8Array(data) : data); - }; - ZLib.prototype.removeFile = function(path) - { - return this.engine.removeFile(path); - }; - ZLib.prototype.close = function() - { - return this.engine.close(); - }; - - window.nativeZlibEngine = new ZLib(); -})(window, undefined);