mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a6825e590a
Summary: This diff cleans up a bunch of code in `symbolicateStackTrace`. According to motiz88 all of it is dead code and I can confirm symbolication does not break with the changes applied. Changelog: [Internal] Reviewed By: yungsters Differential Revision: D24585849 fbshipit-source-id: 5b2c76f56dbbbf27449ce1472cdd0271ed230c35
20 lines
445 B
JavaScript
20 lines
445 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow strict
|
|
* @format
|
|
*/
|
|
|
|
/* globals Headers, Request, Response */
|
|
|
|
'use strict';
|
|
|
|
// side-effectful require() to put fetch,
|
|
// Headers, Request, Response in global scope
|
|
require('whatwg-fetch');
|
|
|
|
module.exports = {fetch, Headers, Request, Response};
|