Updated demo to reflect the new <a>.download support.
This commit is contained in:
+4
-4
@@ -2,11 +2,11 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US-x-Hixie">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>FileSaver.js Demo</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://raw.github.com/eligrey/FileSaver.js/master/demo/demo.css"/>
|
||||
<title>FileSaver.js demo</title>
|
||||
<link rel="stylesheet" type="text/css" href="demo.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<h1><a href="https://github.com/eligrey/FileSaver.js">FileSaver.js</a> Demo</h1>
|
||||
<h1><a href="https://github.com/eligrey/FileSaver.js">FileSaver.js</a> demo</h1>
|
||||
<p>
|
||||
The following examples demonstrate how it is possible to generate and save any type of data right in the browser using the W3C <code>saveAs()</code> <a href="http://www.w3.org/TR/file-writer-api/#the-filesaver-interface">FileSaver</a> interface, without contacting any servers.
|
||||
</p>
|
||||
@@ -55,7 +55,7 @@ The following examples demonstrate how it is possible to generate and save any t
|
||||
<dt>Why isn't my filename saved?</dt>
|
||||
<dd>
|
||||
<p>
|
||||
Saving with filenames is only available in browsers that natively support either <code><a href="http://www.w3.org/TR/file-system-api/#using-localfilesystem">LocalFileSystem</a></code> or <code><a href="http://www.w3.org/TR/file-writer-api/#the-filesaver-interface">FileSaver</a></code>, such as <a href="http://www.chromium.org/getting-involved/dev-channel">Google Chrome 14 dev</a>.
|
||||
Saving with filenames is only available in browsers that natively support <a href="http://www.w3.org/TR/file-writer-api/#the-filesaver-interface"><code>FileSaver</code></a> or browsers like <a href="http://www.chromium.org/getting-involved/dev-channel">Google Chrome 14 dev</a> and <a href="http://tools.google.com/dlpage/chromesxs">Google Chrome Canary</a>, that support <a href="http://developers.whatwg.org/links.html#downloading-resources"><code><![CDATA[<a>.download]]></code></a> or <a href="http://www.w3.org/TR/file-system-api/#using-localfilesystem"><code>LocalFileSystem</code></a>.
|
||||
</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
Reference in New Issue
Block a user