1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | 'use strict';
|
11 |
|
12 | (function(global, factory) {
|
13 | typeof exports === 'object' && typeof module !== 'undefined'
|
14 | ? (module.exports = factory(require('react')))
|
15 | : typeof define === 'function' && define.amd
|
16 | ? define(['react'], factory)
|
17 | : (global.Schedule = factory(global));
|
18 | })(this, function(global) {
|
19 | function unstable_now() {
|
20 | return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Schedule.unstable_now.apply(
|
21 | this,
|
22 | arguments
|
23 | );
|
24 | }
|
25 |
|
26 | function unstable_scheduleWork() {
|
27 | return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Schedule.unstable_scheduleWork.apply(
|
28 | this,
|
29 | arguments
|
30 | );
|
31 | }
|
32 |
|
33 | function unstable_cancelScheduledWork() {
|
34 | return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Schedule.unstable_cancelScheduledWork.apply(
|
35 | this,
|
36 | arguments
|
37 | );
|
38 | }
|
39 |
|
40 | return Object.freeze({
|
41 | unstable_now: unstable_now,
|
42 | unstable_scheduleWork: unstable_scheduleWork,
|
43 | unstable_cancelScheduledWork: unstable_cancelScheduledWork,
|
44 | });
|
45 | });
|