{"action":"closed","issue":{"url":"https://api.github.com/repos/canjs/can-connect/issues/201","repository_url":"https://api.github.com/repos/canjs/can-connect","labels_url":"https://api.github.com/repos/canjs/can-connect/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/canjs/can-connect/issues/201/comments","events_url":"https://api.github.com/repos/canjs/can-connect/issues/201/events","html_url":"https://github.com/canjs/can-connect/issues/201","id":192488015,"number":201,"title":"Code Error in can-connect docs: Creating Bx Section","user":{"login":"joe-crick","id":5924684,"avatar_url":"https://avatars.githubusercontent.com/u/5924684?v=3","gravatar_id":"","url":"https://api.github.com/users/joe-crick","html_url":"https://github.com/joe-crick","followers_url":"https://api.github.com/users/joe-crick/followers","following_url":"https://api.github.com/users/joe-crick/following{/other_user}","gists_url":"https://api.github.com/users/joe-crick/gists{/gist_id}","starred_url":"https://api.github.com/users/joe-crick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joe-crick/subscriptions","organizations_url":"https://api.github.com/users/joe-crick/orgs","repos_url":"https://api.github.com/users/joe-crick/repos","events_url":"https://api.github.com/users/joe-crick/events{/privacy}","received_events_url":"https://api.github.com/users/joe-crick/received_events","type":"User","site_admin":false},"labels":[{"id":489984495,"url":"https://api.github.com/repos/canjs/can-connect/labels/developer%20relations%20&%20evangelism","name":"developer relations & evangelism","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":{"login":"chasenlehara","id":10070176,"avatar_url":"https://avatars.githubusercontent.com/u/10070176?v=3","gravatar_id":"","url":"https://api.github.com/users/chasenlehara","html_url":"https://github.com/chasenlehara","followers_url":"https://api.github.com/users/chasenlehara/followers","following_url":"https://api.github.com/users/chasenlehara/following{/other_user}","gists_url":"https://api.github.com/users/chasenlehara/gists{/gist_id}","starred_url":"https://api.github.com/users/chasenlehara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chasenlehara/subscriptions","organizations_url":"https://api.github.com/users/chasenlehara/orgs","repos_url":"https://api.github.com/users/chasenlehara/repos","events_url":"https://api.github.com/users/chasenlehara/events{/privacy}","received_events_url":"https://api.github.com/users/chasenlehara/received_events","type":"User","site_admin":false},"assignees":[{"login":"chasenlehara","id":10070176,"avatar_url":"https://avatars.githubusercontent.com/u/10070176?v=3","gravatar_id":"","url":"https://api.github.com/users/chasenlehara","html_url":"https://github.com/chasenlehara","followers_url":"https://api.github.com/users/chasenlehara/followers","following_url":"https://api.github.com/users/chasenlehara/following{/other_user}","gists_url":"https://api.github.com/users/chasenlehara/gists{/gist_id}","starred_url":"https://api.github.com/users/chasenlehara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chasenlehara/subscriptions","organizations_url":"https://api.github.com/users/chasenlehara/orgs","repos_url":"https://api.github.com/users/chasenlehara/repos","events_url":"https://api.github.com/users/chasenlehara/events{/privacy}","received_events_url":"https://api.github.com/users/chasenlehara/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-11-30T06:41:52Z","updated_at":"2016-11-30T17:45:51Z","closed_at":"2016-11-30T17:45:51Z","body":"There is an error in the JS code example in the Creating Behaviors section of the can-connect docs (the localStorage behavior). Line 14 of the example code reads:\r\n\r\n`localStorage.setItem(baseConnection.name+\"-ID\"), nextId);`\r\n\r\nIt should read:\r\n\r\n`localStorage.setItem(baseConnection.name+\"-ID\", nextId);`"}}
{"actor":{"display_login":"matthewp"}}