Revert "fix RCTConvert choke converting int to string"

This reverts commit 2a69aae5ad.
This commit is contained in:
Mark Vayngrib 2015-10-11 19:03:18 +01:00
parent 00acebd3f2
commit d852f48cdb
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ function UdpSocket(options, onmessage) {
if (typeof options === 'string') options = { type: options } if (typeof options === 'string') options = { type: options }
this.type = options.type this.type = options.type
this._id = '' + instances++ this._id = instances++
this._state = STATE.UNBOUND this._state = STATE.UNBOUND
this._subscription = DeviceEventEmitter.addListener( this._subscription = DeviceEventEmitter.addListener(
'udp-' + this._id + '-data', this._onReceive.bind(this) 'udp-' + this._id + '-data', this._onReceive.bind(this)