Revert "Fix CDN usage (#369)" (#371)
Browse filesThis reverts commit 15c608ec5c334980e180ff109a9be7592a21bf8b.
docs/src/content/guides/installation.mdx
CHANGED
@@ -46,7 +46,7 @@ driverObj.highlight({
|
|
46 |
If you are using the CDN, you will have to use the package from the `window` object:
|
47 |
|
48 |
```js
|
49 |
-
const driver = window.driver.js.driver
|
50 |
|
51 |
const driverObj = driver();
|
52 |
driver.highlight({
|
@@ -58,4 +58,4 @@ driver.highlight({
|
|
58 |
});
|
59 |
```
|
60 |
|
61 |
-
Continue reading the [Getting Started](/docs/basic-usage) guide to learn more about the package.
|
|
|
46 |
If you are using the CDN, you will have to use the package from the `window` object:
|
47 |
|
48 |
```js
|
49 |
+
const driver = window.driver.js.driver;
|
50 |
|
51 |
const driverObj = driver();
|
52 |
driver.highlight({
|
|
|
58 |
});
|
59 |
```
|
60 |
|
61 |
+
Continue reading the [Getting Started](/docs/basic-usage) guide to learn more about the package.
|