mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 17:15:54 +00:00
ad8a335864
Summary:Follow-up to https://github.com/facebook/react-native/pull/5084 This… - changes all requires within RN to `require('fbjs/lib/…')` - updates `.flowconfig` - updates `packager/blacklist.js` - adapts tests - removes things from `Libraries/vendor/{core,emitter}` that are also in fbjs - removes knowledge of `fbjs` from the packager Closes https://github.com/facebook/react-native/pull/5084 Reviewed By: bestander Differential Revision: D2926835 fb-gh-sync-id: 2095e22b2f38e032599d1f2601722b3560e8b6e9 shipit-source-id: 2095e22b2f38e032599d1f2601722b3560e8b6e9
18 lines
254 B
JavaScript
18 lines
254 B
JavaScript
/**
|
|
* Stub of Sample for Android.
|
|
*
|
|
* @providesModule Sample
|
|
* @flow
|
|
*/
|
|
'use strict';
|
|
|
|
var warning = require('fbjs/lib/warning');
|
|
|
|
var Sample = {
|
|
test: function() {
|
|
warning('Not yet implemented for Android.');
|
|
}
|
|
};
|
|
|
|
module.exports = Sample;
|