Added markdown rendering
This commit is contained in:
parent
26ca510785
commit
5a0340c226
172 changed files with 12198 additions and 8338 deletions
21
static/js/lib/node_modules/preact/devtools/src/devtools.js
generated
vendored
Normal file
21
static/js/lib/node_modules/preact/devtools/src/devtools.js
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import { Component, Fragment, options } from 'preact';
|
||||
|
||||
export function initDevTools() {
|
||||
const globalVar =
|
||||
typeof globalThis !== 'undefined'
|
||||
? globalThis
|
||||
: typeof window !== 'undefined'
|
||||
? window
|
||||
: undefined;
|
||||
|
||||
if (
|
||||
globalVar !== null &&
|
||||
globalVar !== undefined &&
|
||||
globalVar.__PREACT_DEVTOOLS__
|
||||
) {
|
||||
globalVar.__PREACT_DEVTOOLS__.attachPreact('10.25.1', options, {
|
||||
Fragment,
|
||||
Component
|
||||
});
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue