{"issue":{"state":"open","created_at":"2010-09-01T03:47:41Z","updated_at":"2011-11-29T15:09:07Z","user":{"gravatar_id":"b2bd81c28bcafeea19ac72e554859ec0","id":70127,"url":"https://api.github.com/users/kanaka","login":"kanaka","avatar_url":"https://secure.gravatar.com/avatar/b2bd81c28bcafeea19ac72e554859ec0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":13,"body":"Standard tight encoding and ZRLE will require zlib decompression in Javascript. This will probably be pretty slow (based on some initial testing), but having them as (non-default) options might be worthwhile in some cases.\n","assignee":null,"id":297120,"labels":[{"name":"feature","color":"a7faa0","url":"https://api.github.com/repos/kanaka/noVNC/labels/feature"},{"name":"patchwelcome","color":"ffb459","url":"https://api.github.com/repos/kanaka/noVNC/labels/patchwelcome"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":25,"title":"Consider encodings using zlib (zlib, tight, ZRLE)","closed_at":null,"html_url":"https://github.com/kanaka/noVNC/issues/25","url":"https://api.github.com/repos/kanaka/noVNC/issues/25","milestone":null},"action":"created","comment":{"created_at":"2011-11-29T15:09:07Z","updated_at":"2011-11-29T15:09:07Z","user":{"gravatar_id":"b2bd81c28bcafeea19ac72e554859ec0","id":70127,"url":"https://api.github.com/users/kanaka","login":"kanaka","avatar_url":"https://secure.gravatar.com/avatar/b2bd81c28bcafeea19ac72e554859ec0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"The (function() {})() syntax is Javascript's only good way of doing lexical scoping. If you see it without it being assigned to anything then this means that it is being used for side effects (e.g. to set global variables). In this case it is defining the object Gordon.Stream.\r\n\r\nYou can see Stream being used in https://github.com/tobeytailor/gordon/blob/master/src/parser.js in particular search for \"s.decompress()\".\r\n","id":2930904,"url":"https://api.github.com/repos/kanaka/noVNC/issues/comments/2930904"}}