mirror of
https://github.com/status-im/react-native-udp.git
synced 2025-01-27 01:08:50 +00:00
Merge pull request #4 from aprock/master
Use the public interface for require statements
This commit is contained in:
commit
ce6a1df516
@ -14,9 +14,11 @@
|
||||
|
||||
var inherits = require('inherits')
|
||||
var EventEmitter = require('events').EventEmitter
|
||||
var React = require('react-native')
|
||||
var DeviceEventEmitter = require('RCTDeviceEventEmitter')
|
||||
var Sockets = require('NativeModules').UdpSockets
|
||||
var {
|
||||
DeviceEventEmitter,
|
||||
NativeModules
|
||||
} = require('react-native');
|
||||
var Sockets = NativeModules.UdpSockets
|
||||
var base64 = require('base64-js')
|
||||
var noop = function () {}
|
||||
var instances = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user