{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/ca0531773ee31444ac5d7562f224b349?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ca0531773ee31444ac5d7562f224b349","url":"https://api.github.com/users/jagg81","login":"jagg81","id":99428},"assignee":null,"labels":[{"name":"feature","color":"e102d8","url":"https://api.github.com/repos/spire-io/jquery.spire.js/labels/feature"}],"updated_at":"2011-11-17T23:30:16Z","closed_at":null,"comments":0,"url":"https://api.github.com/repos/spire-io/jquery.spire.js/issues/9","body":"The idea is to have a way to pass optional params to the subscribe method.\r\ni.e. the signature would be something like: \r\n> $.spire.messages.subscribe = function(name, callback, params){...}\r\n\r\nThis would come handy in cases where we need to add a timestamp for Long-Polling that gets passed to \r\n> $.spire.requests.subscriptions.get(options, callback){...}\r\n\r\n...this way first request for new messages doesn't fetch old messages (default behavior).\r\n\r\nHere is a Gist that may serve as reference of how I temporally patched it in my current code.\r\nhttps://gist.github.com/49a206c61585e29ad706\r\n\r\n","html_url":"https://github.com/spire-io/jquery.spire.js/issues/9","number":9,"title":"add options param to subscribe method","id":2275192,"created_at":"2011-11-17T23:30:16Z"},"action":"opened"}