All of this functionality can be built upon the current spec, but
constraining the spec to support this convenience precludes other uses.
On Wed, Apr 27, 2011 at 11:42 PM, Brett Zamir wrote:
> user to parse the response text, why not simply allow each event to be a
> JSON-encoded object of some
user to parse the response text, why not simply allow each event to be a
JSON-encoded object of some kind (boolean, number, string, array,
object). Then the event.data could be an object which was already
conveniently accessible to JavaScript consumers. Presumably server-side
libraries would ha