Skip to content

Commit

Permalink
Fix link in JS docs
Browse files Browse the repository at this point in the history
  • Loading branch information
z4kn4fein committed Sep 6, 2024
1 parent 4fe17a5 commit fb49e05
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion website/docs/sdk-reference/js-ssr.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if (value) {
}
```

(Please note that [top-level await in modules](https://exploringjs.com/impatient-js/ch_modules.html#top-level-await) is available only if your project is [set up to use the ECMAScript module system](https://nodejs.org/api/esm.html). Otherwise you will need either to use Promises or wrap your code in an async function as shown [here](https://github.com/configcat/node-sdk/blob/master/samples/console/index.js).)
(Please note that [top-level await in modules](https://exploringjs.com/js/book/ch_modules.html#top-level-await) is available only if your project is [set up to use the ECMAScript module system](https://nodejs.org/api/esm.html). Otherwise you will need either to use Promises or wrap your code in an async function as shown [here](https://github.com/configcat/node-sdk/blob/master/samples/console/index.js).)

The Promise way:

Expand Down
2 changes: 1 addition & 1 deletion website/docs/sdk-reference/js.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ if (value) {
}
```

(Please note that [top-level await in modules](https://exploringjs.com/impatient-js/ch_modules.html#top-level-await) may not be available [in older browsers](https://caniuse.com/mdn-javascript_operators_await_top_level). If you need to target such browser versions, you will need to use Promises or wrap your code in an async function or configure your build tools to downlevel this language feature.)
(Please note that [top-level await in modules](https://exploringjs.com/js/book/ch_modules.html#top-level-await) may not be available [in older browsers](https://caniuse.com/mdn-javascript_operators_await_top_level). If you need to target such browser versions, you will need to use Promises or wrap your code in an async function or configure your build tools to downlevel this language feature.)

The Promise way:

Expand Down
2 changes: 1 addition & 1 deletion website/docs/sdk-reference/node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ if (value) {
}
```

(Please note that [top-level await in modules](https://exploringjs.com/impatient-js/ch_modules.html#top-level-await) is available only if your project is [set up to use the ECMAScript module system](https://nodejs.org/api/esm.html). Otherwise you will need to use Promises or wrap your code in an async function as shown [here](https://github.com/configcat/node-sdk/blob/master/samples/console/index.js).)
(Please note that [top-level await in modules](https://exploringjs.com/js/book/ch_modules.html#top-level-await) is available only if your project is [set up to use the ECMAScript module system](https://nodejs.org/api/esm.html). Otherwise you will need to use Promises or wrap your code in an async function as shown [here](https://github.com/configcat/node-sdk/blob/master/samples/console/index.js).)

The Promise way:

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-V1/sdk-reference/js-ssr.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ if (value) {
}
```

(Please note that [top-level await in modules](https://exploringjs.com/impatient-js/ch_modules.html#top-level-await) is available only if your project is [set up to use the ECMAScript module system](https://nodejs.org/api/esm.html). Otherwise you will need either to use Promises or wrap your code in an async function as shown [here](https://github.com/configcat/node-sdk/blob/master/samples/console/index.js).)
(Please note that [top-level await in modules](https://exploringjs.com/js/book/ch_modules.html#top-level-await) is available only if your project is [set up to use the ECMAScript module system](https://nodejs.org/api/esm.html). Otherwise you will need either to use Promises or wrap your code in an async function as shown [here](https://github.com/configcat/node-sdk/blob/master/samples/console/index.js).)

The Promise way:

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-V1/sdk-reference/js.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ if (value) {
}
```

(Please note that [top-level await in modules](https://exploringjs.com/impatient-js/ch_modules.html#top-level-await) may not be available [in older browsers](https://caniuse.com/mdn-javascript_operators_await_top_level). If you need to target such browser versions, you will need to use Promises or wrap your code in an async function or configure your build tools to downlevel this language feature.)
(Please note that [top-level await in modules](https://exploringjs.com/js/book/ch_modules.html#top-level-await) may not be available [in older browsers](https://caniuse.com/mdn-javascript_operators_await_top_level). If you need to target such browser versions, you will need to use Promises or wrap your code in an async function or configure your build tools to downlevel this language feature.)

The Promise way:

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-V1/sdk-reference/node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ if (value) {
}
```

(Please note that [top-level await in modules](https://exploringjs.com/impatient-js/ch_modules.html#top-level-await) is available only if your project is [set up to use the ECMAScript module system](https://nodejs.org/api/esm.html). Otherwise you will need to use Promises or wrap your code in an async function as shown [here](https://github.com/configcat/node-sdk/blob/master/samples/console/index.js).)
(Please note that [top-level await in modules](https://exploringjs.com/js/book/ch_modules.html#top-level-await) is available only if your project is [set up to use the ECMAScript module system](https://nodejs.org/api/esm.html). Otherwise you will need to use Promises or wrap your code in an async function as shown [here](https://github.com/configcat/node-sdk/blob/master/samples/console/index.js).)

The Promise way:

Expand Down

0 comments on commit fb49e05

Please sign in to comment.