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.ScheduleTracking = factory(global));
|
18 | })(this, function(global) {
|
19 | function unstable_clear() {
|
20 | return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ScheduleTracking.unstable_clear.apply(
|
21 | this,
|
22 | arguments
|
23 | );
|
24 | }
|
25 |
|
26 | function unstable_getCurrent() {
|
27 | return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ScheduleTracking.unstable_getCurrent.apply(
|
28 | this,
|
29 | arguments
|
30 | );
|
31 | }
|
32 |
|
33 | function unstable_getThreadID() {
|
34 | return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ScheduleTracking.unstable_getThreadID.apply(
|
35 | this,
|
36 | arguments
|
37 | );
|
38 | }
|
39 |
|
40 | function unstable_subscribe() {
|
41 |
|
42 | return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ScheduleTracking.unstable_subscribe.apply(
|
43 | this,
|
44 | arguments
|
45 | );
|
46 | }
|
47 |
|
48 | function unstable_track() {
|
49 | return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ScheduleTracking.unstable_track.apply(
|
50 | this,
|
51 | arguments
|
52 | );
|
53 | }
|
54 |
|
55 | function unstable_unsubscribe() {
|
56 |
|
57 | return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ScheduleTracking.unstable_unsubscribe.apply(
|
58 | this,
|
59 | arguments
|
60 | );
|
61 | }
|
62 |
|
63 | function unstable_wrap() {
|
64 | return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ScheduleTracking.unstable_wrap.apply(
|
65 | this,
|
66 | arguments
|
67 | );
|
68 | }
|
69 |
|
70 | return Object.freeze({
|
71 | unstable_clear: unstable_clear,
|
72 | unstable_getCurrent: unstable_getCurrent,
|
73 | unstable_getThreadID: unstable_getThreadID,
|
74 | unstable_subscribe: unstable_subscribe,
|
75 | unstable_track: unstable_track,
|
76 | unstable_unsubscribe: unstable_unsubscribe,
|
77 | unstable_wrap: unstable_wrap,
|
78 | });
|
79 | });
|