react-native/Examples
Philipp von Weitershausen ebb44d202b Clean up and simplify WebSocket implementation on the JS side
Summary:- Get rid of no longer necessary WebSocket.js v WebSocketBase.js split
- Use `EventTarget(list, of, events)` as base class to auto-generate `oneventname` getters/setters that get invoked along with other event handlers
- Type annotation `any` considered harmful, especially when we can easily spell out the actual type
- Throw in some `const` goodness for free

**Test Plan:** Launch UIExplorer example app, supplied `websocket_test_server` script, and try different combinations of sending and receiving text and binary data on both iOS and Android.
Closes https://github.com/facebook/react-native/pull/6889

Differential Revision: D3184835

Pulled By: mkonicek

fb-gh-sync-id: f21707f4e97aa5a79847f5157e0a9f132a1a01cd
fbshipit-source-id: f21707f4e97aa5a79847f5157e0a9f132a1a01cd
2016-04-18 15:43:25 -07:00
..
2048 Fix up this pattern var React = require('react-native'); 2016-04-08 20:37:22 -07:00
Movies Allow building UIExplorer with Buck 2016-04-12 13:05:24 -07:00
TicTacToe D8675309: Fix border radius / background propagation issues in TicTacToe example 2016-04-13 07:52:04 -07:00
UIExplorer Clean up and simplify WebSocket implementation on the JS side 2016-04-18 15:43:25 -07:00
.eslintrc Add global flow types to eslint globals 2016-01-27 15:55:34 -08:00