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
15
crates/librqbit/webui/node_modules/preact/compat/scheduler.js
generated
vendored
Normal file
15
crates/librqbit/webui/node_modules/preact/compat/scheduler.js
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// see scheduler.mjs
|
||||
|
||||
function unstable_runWithPriority(priority, callback) {
|
||||
return callback();
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
unstable_ImmediatePriority: 1,
|
||||
unstable_UserBlockingPriority: 2,
|
||||
unstable_NormalPriority: 3,
|
||||
unstable_LowPriority: 4,
|
||||
unstable_IdlePriority: 5,
|
||||
unstable_runWithPriority,
|
||||
unstable_now: performance.now.bind(performance)
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue