Nothing works, I dont understand modern javascript
This commit is contained in:
parent
72666e9258
commit
d5cf369a75
139 changed files with 10138 additions and 55 deletions
10
crates/librqbit/webui/node_modules/preact/devtools/src/devtools.js
generated
vendored
Normal file
10
crates/librqbit/webui/node_modules/preact/devtools/src/devtools.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { options, Fragment, Component } from 'preact';
|
||||
|
||||
export function initDevTools() {
|
||||
if (typeof window != 'undefined' && window.__PREACT_DEVTOOLS__) {
|
||||
window.__PREACT_DEVTOOLS__.attachPreact('10.19.2', options, {
|
||||
Fragment,
|
||||
Component
|
||||
});
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue