From c3e4f428f95ced0ee94461bff268024946ef6c6b Mon Sep 17 00:00:00 2001 From: marvinorez Date: Sun, 29 Dec 2013 09:41:11 -0800 Subject: [PATCH] Misprint fixed --- ...-that-showcases-PDF-rendering-with-text-selection-enabled.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minimal-example-that-showcases-PDF-rendering-with-text-selection-enabled.md b/Minimal-example-that-showcases-PDF-rendering-with-text-selection-enabled.md index 743c70d..bb3e6dd 100644 --- a/Minimal-example-that-showcases-PDF-rendering-with-text-selection-enabled.md +++ b/Minimal-example-that-showcases-PDF-rendering-with-text-selection-enabled.md @@ -398,7 +398,7 @@ window.onload = function () { $pdfContainer.append($textLayerDiv); page.getTextContent().then(function (textContent) { - var textLayer = new TextLayerBuilder({ textLayerDiv: $textLayerDiv.get(0) }); + var textLayer = new TextLayerBuilder($textLayerDiv.get(0)); textLayer.setTextContent(textContent); var renderContext = {