1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Changed import statements to require to reduce dependency to Babel

This commit is contained in:
Laurent Cozic
2017-11-03 00:09:34 +00:00
parent 1c144c9674
commit 7781fbad76
108 changed files with 729 additions and 730 deletions

View File

@ -1,7 +1,7 @@
import { shim } from 'lib/shim.js';
import { GeolocationReact } from 'lib/geolocation-react.js';
import { PoorManIntervals } from 'lib/poor-man-intervals.js';
import RNFetchBlob from 'react-native-fetch-blob';
const { shim } = require('lib/shim.js');
const { GeolocationReact } = require('lib/geolocation-react.js');
const { PoorManIntervals } = require('lib/poor-man-intervals.js');
const RNFetchBlob = require('react-native-fetch-blob').default;
function shimInit() {
shim.Geolocation = GeolocationReact;