We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e7c2d7 + b35d22d commit ae5dc14Copy full SHA for ae5dc14
1 file changed
README.markdown
@@ -7,11 +7,11 @@ lovely and simple API.
7
See https://stuk.github.io/jszip for all the documentation.
8
9
```javascript
10
-var zip = new JSZip();
+const zip = new JSZip();
11
12
zip.file("Hello.txt", "Hello World\n");
13
14
-var img = zip.folder("images");
+const img = zip.folder("images");
15
img.file("smile.gif", imgData, {base64: true});
16
17
zip.generateAsync({type:"blob"}).then(function(content) {
0 commit comments