Revert "Fix CDN usage (#369)"

This reverts commit 15c608ec5c.
This commit is contained in:
Kamran Ahmed
2023-07-14 11:29:39 +01:00
committed by GitHub
parent 15c608ec5c
commit e090124aaf
+2 -2
View File
@@ -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.