Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Reports window error event. Better log messages. Global eval

  • Loading branch information...
commit 7e9832c16c6f72f592c45344b48ae13bf6469cfc 1 parent 59c09d9
Claudio Cicali authored

Showing 1 changed file with 6 additions and 5 deletions. Show diff stats Hide diff stats

  1. +6 5 README.md
11 README.md
Source Rendered
@@ -17,16 +17,17 @@ asynchronous messages to the server. The `jecho.log()` obviously resembles the c
17 17 Features
18 18 --------
19 19
20   -- supports bidirectional communication, thanks to WebSockets. The support is provided for the legacy and current WebSocket specifications (tested on iOS 4, 5, 6 and some versions of Android).
21   -- if for some reasons WebSockets are not supported, then you can still use the `jecho.log()` thanks to XMLHttpRequest and CORS. In this case you'll not be able to send commands to the browser, but just receive the output from jecho.log.
  20 +- supports bidirectional communication, thanks to WebSockets. The support is provided for the legacy and current WebSocket specifications (tested on iOS 4, 5, 6 and some versions of Android)
  21 +- if for some reasons WebSockets are not supported, then you can still use the `jecho.log()` thanks to XMLHttpRequest and CORS. In this case you'll not be able to send commands to the browser, but just receive the output from jecho.log
22 22 - command line handled by readline with history (saved in ~/.jecho-history)
23   -- uses smart eval() - meaning that "var foobar" will create a real, global foobar
24   -- automatically catches and report JavaScript errors (not using window.onerror, so joy with Firefox)
  23 +- uses smart eval() - meaning that "var foobar = 67" will create a real, global foobar
  24 +- automatically catches and reports JavaScript errors (not using window.onerror, so no joy with Firefox)
25 25
26 26 Output
27 27 ------
28 28
29   -Each output line is composed by four elements: a timestamp, the IP address of the client, and indicator and the message
  29 +Each output line is composed by four elements: a timestamp, the IP address of the client, an indicator and the message.
  30 +
30 31 The indicator element is a symbol with the following meanings:
31 32 - `>>` a log message has been received from the client (unattended)
32 33 - `<>` a response to a query has been received by the client

0 comments on commit 7e9832c

Please sign in to comment.
Something went wrong with that request. Please try again.