mirror of
https://github.com/aljazceru/pear-docs.git
synced 2025-12-17 06:24:24 +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
|
||||
if (Pear.config.dev) {
|
||||
const { Inspector } = await import('pear-inspect')
|
||||
const inpector = await new Inspector()
|
||||
const key = await inpector.enable()
|
||||
const inspector = await new Inspector()
|
||||
const key = await inspector.enable()
|
||||
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) {
|
||||
const { Inspector } = await import('pear-inspect')
|
||||
const inpector = await new Inspector()
|
||||
const key = await inpector.enable()
|
||||
const inspector = await new Inspector()
|
||||
const key = await inspector.enable()
|
||||
console.log('Debug with pear://runtime/devtools/'
|
||||
+ key.toString('hex'))
|
||||
}</code></pre>
|
||||
|
||||
Reference in New Issue
Block a user