{"action":"created","issue":{"url":"https://api.github.com/repos/LeadDyno/intercooler-js/issues/53","labels_url":"https://api.github.com/repos/LeadDyno/intercooler-js/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/LeadDyno/intercooler-js/issues/53/comments","events_url":"https://api.github.com/repos/LeadDyno/intercooler-js/issues/53/events","html_url":"https://github.com/LeadDyno/intercooler-js/pull/53","id":73518593,"number":53,"title":"Feature/local ref","user":{"login":"evilotto","id":10535854,"avatar_url":"https://avatars.githubusercontent.com/u/10535854?v=3","gravatar_id":"","url":"https://api.github.com/users/evilotto","html_url":"https://github.com/evilotto","followers_url":"https://api.github.com/users/evilotto/followers","following_url":"https://api.github.com/users/evilotto/following{/other_user}","gists_url":"https://api.github.com/users/evilotto/gists{/gist_id}","starred_url":"https://api.github.com/users/evilotto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilotto/subscriptions","organizations_url":"https://api.github.com/users/evilotto/orgs","repos_url":"https://api.github.com/users/evilotto/repos","events_url":"https://api.github.com/users/evilotto/events{/privacy}","received_events_url":"https://api.github.com/users/evilotto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-06T05:22:52Z","updated_at":"2015-05-14T13:49:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/LeadDyno/intercooler-js/pulls/53","html_url":"https://github.com/LeadDyno/intercooler-js/pull/53","diff_url":"https://github.com/LeadDyno/intercooler-js/pull/53.diff","patch_url":"https://github.com/LeadDyno/intercooler-js/pull/53.patch"},"body":"Adding in the local transport plugin.\r\n\r\nAfter considering how to make the 'local reference' addresses work without using a jquery transport plugin, it would have been much more complicated to get all the surrounding functionality to work - pre/post hooks, dependencies, etc - if it was done as a non-network request.  So the plugin is the easiest route; I just pulled in my other version with a minimum of changes.\r\n\r\nThis code only recognizes a url starting with \"#\" as a local reference and not a specific url scheme, i.e., it must address an id selector.  \r\n\r\nThe response headers for a local reference are any attributes starting \"ic-lt-\" so that standard intercooler response headers can be specified.  \"ic-lt-status\" is also recognized as the http response code, so a value of \"500 error\" will trigger ic-on-error handlers.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/LeadDyno/intercooler-js/issues/comments/102042882","html_url":"https://github.com/LeadDyno/intercooler-js/pull/53#issuecomment-102042882","issue_url":"https://api.github.com/repos/LeadDyno/intercooler-js/issues/53","id":102042882,"user":{"login":"carsongross","id":469183,"avatar_url":"https://avatars.githubusercontent.com/u/469183?v=3","gravatar_id":"","url":"https://api.github.com/users/carsongross","html_url":"https://github.com/carsongross","followers_url":"https://api.github.com/users/carsongross/followers","following_url":"https://api.github.com/users/carsongross/following{/other_user}","gists_url":"https://api.github.com/users/carsongross/gists{/gist_id}","starred_url":"https://api.github.com/users/carsongross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carsongross/subscriptions","organizations_url":"https://api.github.com/users/carsongross/orgs","repos_url":"https://api.github.com/users/carsongross/repos","events_url":"https://api.github.com/users/carsongross/events{/privacy}","received_events_url":"https://api.github.com/users/carsongross/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T13:49:08Z","updated_at":"2015-05-14T13:49:08Z","body":"Heya Jeff, saw your ping on IRC, sorry I missed you.\r\n\r\nI haven't forgotten about this pull request, just haven't had time to merge it.  It will be in by the next release, in June.\r\n\r\nOne thing I would ask is if you can add a few tests to unit_tests.html, that would be awesome."}}