From e090124aaf92bd5524f112833f632c593ca250ea Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Fri, 14 Jul 2023 11:29:39 +0100 Subject: [PATCH] Revert "Fix CDN usage (#369)" This reverts commit 15c608ec5c334980e180ff109a9be7592a21bf8b. --- docs/src/content/guides/installation.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/content/guides/installation.mdx b/docs/src/content/guides/installation.mdx index b304414..2d2f4cc 100644 --- a/docs/src/content/guides/installation.mdx +++ b/docs/src/content/guides/installation.mdx @@ -46,7 +46,7 @@ driverObj.highlight({ If you are using the CDN, you will have to use the package from the `window` object: ```js -const driver = window.driver.js.driver(); +const driver = window.driver.js.driver; const driverObj = driver(); driver.highlight({ @@ -58,4 +58,4 @@ driver.highlight({ }); ``` -Continue reading the [Getting Started](/docs/basic-usage) guide to learn more about the package. +Continue reading the [Getting Started](/docs/basic-usage) guide to learn more about the package. \ No newline at end of file