Skip to content

Commit

Permalink
doc : add a note about IE's compatibility view
Browse files Browse the repository at this point in the history
  • Loading branch information
dduponchel committed Feb 18, 2014
1 parent 159dda7 commit 98c7281
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/download-zip-file.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h2>The data URL</h2>
</div>
<h2>The Blob URL / saveAs</h2>
<div>
Works on firefox, chrome , opera &gt;= 15 and IE &gt;= 10.<br/>
Works on firefox, chrome , opera &gt;= 15 and IE &gt;= 10 (but NOT in compatibility view).<br/>
<a href="#" id="blob">click to download</a>
</div>
<script type="text/javascript" src="../dist/jszip.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ <h4>Other solution-ish: Blob URL / FileSaver / FileSaver.js</h4>
myLink.href = window.URL.createObjectURL(blob);
myLink.download = "myFile.zip";</pre>

<p>An other solution is the <a href="http://www.w3.org/TR/file-writer-api/#the-filesaver-interface">FileSaver</a> interface, created (at the time of writing) with <code>saveAs</code>. This works on Chrome and IE &gt;= 10 but not Firefox.</p>
<p>An other solution is the <a href="http://www.w3.org/TR/file-writer-api/#the-filesaver-interface">FileSaver</a> interface, created (at the time of writing) with <code>saveAs</code>. This works on Chrome and IE &gt;= 10 (not in compatibility view) but not Firefox.</p>
<pre class="example">
var blob = zip.generate({type:"blob"});
window.saveAs(blob, "hello.zip");</pre>
Expand Down

0 comments on commit 98c7281

Please sign in to comment.