From d3fa8a3b45ff82f81e6002c1c5aadc232e6c0b24 Mon Sep 17 00:00:00 2001 From: Josh Wolfe Date: Mon, 27 Aug 2018 22:46:25 -0400 Subject: [PATCH] clarify examples. see #90 --- examples/dump.js | 2 +- examples/promises.js | 2 +- examples/unzip.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/dump.js b/examples/dump.js index b1437bc..f6503db 100644 --- a/examples/dump.js +++ b/examples/dump.js @@ -1,5 +1,5 @@ -var yauzl = require("../"); +var yauzl = require("../"); // replace with: var yauzl = require("yauzl"); var paths = []; var dumpContents = true; diff --git a/examples/promises.js b/examples/promises.js index 35370c4..5451424 100644 --- a/examples/promises.js +++ b/examples/promises.js @@ -8,7 +8,7 @@ // While async/await is still experimental, you also need // to run this example with --harmony-async-await -let yauzl = require("../"); +let yauzl = require("../"); // replace with: let yauzl = require("yauzl"); let simpleZipBuffer = new Buffer([ 80,75,3,4,20,0,8,8,0,0,134,96,146,74,0,0, diff --git a/examples/unzip.js b/examples/unzip.js index f60bf8d..f9c1df1 100644 --- a/examples/unzip.js +++ b/examples/unzip.js @@ -1,5 +1,5 @@ -var yauzl = require("../"); +var yauzl = require("../"); // replace with: var yauzl = require("yauzl"); var path = require("path"); var fs = require("fs"); var util = require("util");