mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge branch 'rollup' of github.com:trueadm/react into rollup
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
const { rollup } = require('rollup');
|
||||
const babel = require('rollup-plugin-babel');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
const { resolve, basename } = require('path');
|
||||
const { sync } = require('glob');
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*
|
||||
* @providesModule ReactElement
|
||||
*/
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
const {
|
||||
createElement,
|
||||
|
||||
@@ -17,4 +17,3 @@ const {
|
||||
} = require('ReactNative');
|
||||
|
||||
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.NativeMethodsMixin;
|
||||
|
||||
@@ -16,4 +16,3 @@ const {
|
||||
} = require('ReactNative');
|
||||
|
||||
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugTool;
|
||||
|
||||
@@ -16,4 +16,3 @@ const {
|
||||
} = require('ReactNative');
|
||||
|
||||
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactErrorUtils;
|
||||
|
||||
@@ -16,4 +16,3 @@ const {
|
||||
} = require('ReactNative');
|
||||
|
||||
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.TouchHistoryMath;
|
||||
|
||||
@@ -17,4 +17,3 @@ const {
|
||||
} = require('ReactNative');
|
||||
|
||||
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.createReactNativeComponentClass;
|
||||
|
||||
+2
-3
@@ -21,11 +21,10 @@ let realFindNodeHandle = null;
|
||||
|
||||
function findNodeHandle(componentOrHandle: any): ?number {
|
||||
if (realFindNodeHandle === null) {
|
||||
realFindNodeHandle = require('ReactNative').
|
||||
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.findNodeHandle;
|
||||
realFindNodeHandle = require('ReactNative')
|
||||
.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.findNodeHandle;
|
||||
}
|
||||
return realFindNodeHandle(componentOrHandle);
|
||||
}
|
||||
|
||||
module.exports = findNodeHandle;
|
||||
|
||||
Reference in New Issue
Block a user