react-native/packager/react-packager
Charlie Cheever dc7681e946 Also call the original `console` methods if they exist
Summary: Ex. When `console.log` or similar is called, this will call
the original method, which can be quite useful.

For example, under iOS, this will log to the Safari console debugger,
which has an expandable UI for inspecting objects, etc., and is also
just useful if you are using that as a REPL.

I don't believe this incurs a meaningful performance penalty unless
the console is open, but it would be easy to stick behind a flag
if that is a problem.
Closes https://github.com/facebook/react-native/pull/2486

Reviewed By: @​svcscm

Differential Revision: D2472470

Pulled By: @vjeux
2015-09-23 19:29:24 -07:00
..
__mocks__ [react-packager] Expose a socket interface 2015-08-25 09:37:08 -08:00
src Also call the original `console` methods if they exist 2015-09-23 19:29:24 -07:00
.babelrc [Babel] Upgrade babel and regenerator to the latest version 2015-08-10 20:37:39 -08:00
.npmignore [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
index.js [react-packager] Cleanup socket interface code 2015-08-25 17:36:08 -08:00