Merge branch 'rollup' of github.com:trueadm/react into rollup

This commit is contained in:
Dominic Gannaway
2017-03-31 14:04:57 +01:00
11 changed files with 8 additions and 13 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
"use strict";
'use strict';
const { rollup } = require('rollup');
const babel = require('rollup-plugin-babel');
+1 -1
View File
@@ -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;
-1
View File
@@ -16,4 +16,3 @@ const {
} = require('ReactNative');
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugTool;
-1
View File
@@ -16,4 +16,3 @@ const {
} = require('ReactNative');
module.exports = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactErrorUtils;
-1
View File
@@ -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
View File
@@ -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;