From 928511d189bdf40b217bcf520d07d4e091bf7604 Mon Sep 17 00:00:00 2001 From: "Libor M." Date: Sun, 29 Dec 2024 10:35:21 +0100 Subject: [PATCH] fix docs --- README.md | 4 ++-- examples/browserify/browser.html | 10 ++++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index c197eaf2..ceefb1be 100644 --- a/README.md +++ b/README.md @@ -128,8 +128,8 @@ complex documents with a very small amount of code. For more, see the `demo` fol There are three ways to use PDFKit in the browser: -- Use [Browserify](http://browserify.org/). See demo [source code](demo/browser.js) and [build script](https://github.com/foliojs/pdfkit/blob/master/package.json#L56) -- Use [webpack](https://webpack.js.org/). See [complete example](examples/webpack). +- Use [Browserify](http://browserify.org/). See demo [source code](https://github.com/foliojs/pdfkit/blob/master/examples/browserify/browser.js) and [build script](https://github.com/foliojs/pdfkit/blob/master/package.json#L62) +- Use [webpack](https://webpack.js.org/). See [complete example](https://github.com/foliojs/pdfkit/blob/master/examples/webpack). - Use prebuilt version. Distributed as `pdfkit.standalone.js` file in the [releases](https://github.com/foliojs/pdfkit/releases) or in the package `js` folder. In addition to PDFKit, you'll need somewhere to stream the output to. HTML5 has a diff --git a/examples/browserify/browser.html b/examples/browserify/browser.html index dc43c743..73f8cf75 100644 --- a/examples/browserify/browser.html +++ b/examples/browserify/browser.html @@ -40,12 +40,10 @@

PDFKit Browser Demo