Skip to content

Commit

Permalink
compression : corrected doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dduponchel committed Apr 24, 2010
1 parent 992e347 commit 2ec8597
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,15 @@ <h3>Usage with Google Gears</h3>
<h2 style="margin-top: 2em;">Documentation</h2>

<h4>new JSZip([compressionMethod])</h4>
<p>The constructor</p>
<p><code>compressionMethod</code>, string. The compression method. Available methods :
<ul>
<li><code>"STORE"</code> no compression, the default.</li>
<li><code>"DEFLATE"</code> default zip compression, need the file jszip-deflate.js</li>
</ul>
</p>
<p>The constructor</p>
<p><code>compressionMethod</code>, string. The compression method to use for every files.</p>
<p>
Available methods :
<ul>
<li><code>"STORE"</code> no compression, the default.</li>
<li><code>"DEFLATE"</code> default zip compression, need the file jszip-deflate.js</li>
</ul>
</p>
<pre class="example">
zip = new JSZip(); // same as new JSZip("STORE");
zip = new JSZip("DEFLATE");</pre>
Expand Down

0 comments on commit 2ec8597

Please sign in to comment.