1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | 'use strict';
|
12 |
|
13 | var React = require('react');
|
14 |
|
15 | var _React$__SECRET_INTER =
|
16 |
|
17 |
|
18 | React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
|
19 | ReactCurrentDispatcher = _React$__SECRET_INTER.ReactCurrentDispatcher,
|
20 | ReactCurrentOwner = _React$__SECRET_INTER.ReactCurrentOwner;
|
21 |
|
22 | function readContext(Context) {
|
23 | var dispatcher = ReactCurrentDispatcher != null ? ReactCurrentDispatcher.current : ReactCurrentOwner.currentDispatcher;
|
24 | return dispatcher.readContext(Context);
|
25 | }
|
26 |
|
27 | module.exports = readContext; |
\ | No newline at end of file |