mirror of
https://github.com/aljazceru/pear-docs.git
synced 2025-12-17 22:44:21 +01:00
Fix typo in code examples
This commit is contained in:
@@ -19,8 +19,8 @@ This code should run as the first thing in the application:
|
|||||||
``` js
|
``` js
|
||||||
if (Pear.config.dev) {
|
if (Pear.config.dev) {
|
||||||
const { Inspector } = await import('pear-inspect')
|
const { Inspector } = await import('pear-inspect')
|
||||||
const inpector = await new Inspector()
|
const inspector = await new Inspector()
|
||||||
const key = await inpector.enable()
|
const key = await inspector.enable()
|
||||||
console.log(`Debug with pear://runtime/devtools/${key.toString('hex')}`)
|
console.log(`Debug with pear://runtime/devtools/${key.toString('hex')}`)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -150,8 +150,8 @@ customElements.define('developer-tooling', class extends HTMLElement {
|
|||||||
|
|
||||||
<pre><code>if (Pear.config.dev) {
|
<pre><code>if (Pear.config.dev) {
|
||||||
const { Inspector } = await import('pear-inspect')
|
const { Inspector } = await import('pear-inspect')
|
||||||
const inpector = await new Inspector()
|
const inspector = await new Inspector()
|
||||||
const key = await inpector.enable()
|
const key = await inspector.enable()
|
||||||
console.log('Debug with pear://runtime/devtools/'
|
console.log('Debug with pear://runtime/devtools/'
|
||||||
+ key.toString('hex'))
|
+ key.toString('hex'))
|
||||||
}</code></pre>
|
}</code></pre>
|
||||||
|
|||||||
Reference in New Issue
Block a user