mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 12:25:59 +08:00
Downgrade ES6 import to ES5 compat module.exports
Reviewed By: rubennorte Differential Revision: D7498658 fbshipit-source-id: 6825c3010ce13c56f05284448ad9961fe058d7ea
This commit is contained in:
committed by
Facebook Github Bot
parent
4a814d1370
commit
cea798c57b
@@ -12,7 +12,7 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
import whatwg from 'whatwg-fetch';
|
||||
const whatwg = require('whatwg-fetch');
|
||||
|
||||
if (whatwg && whatwg.fetch) {
|
||||
module.exports = whatwg;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
import AnimatedNode from 'AnimatedNode';
|
||||
const AnimatedNode = require('AnimatedNode');
|
||||
|
||||
export opaque type ____StyleSheetInternalStyleIdentifier_Internal: number = number;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user