Remove unused www shims (#10018)
* Remove unused www shims * Delete ReactElement.js
Dan Abramov committed
Jun 21, 2017 at 19:10 UTC
8e251c5416b58fee3a45d39948a6288dd5d2129c
2 files changed
-38
scripts/rollup/shims/facebook-www/ReactDOMInputSelection.js
deleted
-19
@@ -1,19 +0,0 @@
1
-/**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
4
- *
5
- * This source code is licensed under the BSD-style license found in the
6
- * LICENSE file in the root directory of this source tree. An additional grant
7
- * of patent rights can be found in the PATENTS file in the same directory.
8
- *
9
- * @providesModule ReactDOMInputSelection
10
- */
11
-
12
-'use strict';
13
-
14
-const {
15
- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
16
-} = require('ReactDOM-fb');
17
-
18
-module.exports =
19
- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDOMInputSelection;
scripts/rollup/shims/facebook-www/ReactElement.js
deleted
-19
@@ -1,19 +0,0 @@
1
-/**
2
- * Copyright 2014-present, Facebook, Inc.
3
- * All rights reserved.
4
- *
5
- * This source code is licensed under the BSD-style license found in the
6
- * LICENSE file in the root directory of this source tree. An additional grant
7
- * of patent rights can be found in the PATENTS file in the same directory.
8
- *
9
- * @providesModule ReactElement
10
- */
11
-'use strict';
12
-
13
-const {createElement, createFactory, isValidElement} = require('React');
14
-
15
-module.exports = {
16
- createElement,
17
- createFactory,
18
- isValidElement,
19
-};