{"action":"closed","number":20,"pull_request":{"url":"https://api.github.com/repos/feathersjs/canjs-feathers/pulls/20","id":29634497,"html_url":"https://github.com/feathersjs/canjs-feathers/pull/20","diff_url":"https://github.com/feathersjs/canjs-feathers/pull/20.diff","patch_url":"https://github.com/feathersjs/canjs-feathers/pull/20.patch","issue_url":"https://api.github.com/repos/feathersjs/canjs-feathers/issues/20","number":20,"state":"closed","locked":false,"title":"Put socket on() and off() directly on Model.","user":{"login":"marshallswain","id":128857,"avatar_url":"https://avatars.githubusercontent.com/u/128857?v=3","gravatar_id":"","url":"https://api.github.com/users/marshallswain","html_url":"https://github.com/marshallswain","followers_url":"https://api.github.com/users/marshallswain/followers","following_url":"https://api.github.com/users/marshallswain/following{/other_user}","gists_url":"https://api.github.com/users/marshallswain/gists{/gist_id}","starred_url":"https://api.github.com/users/marshallswain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marshallswain/subscriptions","organizations_url":"https://api.github.com/users/marshallswain/orgs","repos_url":"https://api.github.com/users/marshallswain/repos","events_url":"https://api.github.com/users/marshallswain/events{/privacy}","received_events_url":"https://api.github.com/users/marshallswain/received_events","type":"User","site_admin":false},"body":"Just what it says on the label.  Aliases\r\n`Model.client.on('event', fn)` as\r\n`Model.on('event', fn)`","created_at":"2015-02-19T18:09:02Z","updated_at":"2015-07-06T04:42:33Z","closed_at":"2015-07-06T04:42:33Z","merged_at":null,"merge_commit_sha":"c126029ab6ea0a6272c33f2ff9a858e0a60fe2e6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/feathersjs/canjs-feathers/pulls/20/commits","review_comments_url":"https://api.github.com/repos/feathersjs/canjs-feathers/pulls/20/comments","review_comment_url":"https://api.github.com/repos/feathersjs/canjs-feathers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/feathersjs/canjs-feathers/issues/20/comments","statuses_url":"https://api.github.com/repos/feathersjs/canjs-feathers/statuses/d36743f2089ecb425ef28af66bb5e404c368d5e1","head":{"label":"marshallswain:direct-on-off","ref":"direct-on-off","sha":"d36743f2089ecb425ef28af66bb5e404c368d5e1","user":{"login":"marshallswain","id":128857,"avatar_url":"https://avatars.githubusercontent.com/u/128857?v=3","gravatar_id":"","url":"https://api.github.com/users/marshallswain","html_url":"https://github.com/marshallswain","followers_url":"https://api.github.com/users/marshallswain/followers","following_url":"https://api.github.com/users/marshallswain/following{/other_user}","gists_url":"https://api.github.com/users/marshallswain/gists{/gist_id}","starred_url":"https://api.github.com/users/marshallswain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marshallswain/subscriptions","organizations_url":"https://api.github.com/users/marshallswain/orgs","repos_url":"https://api.github.com/users/marshallswain/repos","events_url":"https://api.github.com/users/marshallswain/events{/privacy}","received_events_url":"https://api.github.com/users/marshallswain/received_events","type":"User","site_admin":false},"repo":{"id":30954176,"name":"canjs-feathers","full_name":"marshallswain/canjs-feathers","owner":{"login":"marshallswain","id":128857,"avatar_url":"https://avatars.githubusercontent.com/u/128857?v=3","gravatar_id":"","url":"https://api.github.com/users/marshallswain","html_url":"https://github.com/marshallswain","followers_url":"https://api.github.com/users/marshallswain/followers","following_url":"https://api.github.com/users/marshallswain/following{/other_user}","gists_url":"https://api.github.com/users/marshallswain/gists{/gist_id}","starred_url":"https://api.github.com/users/marshallswain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marshallswain/subscriptions","organizations_url":"https://api.github.com/users/marshallswain/orgs","repos_url":"https://api.github.com/users/marshallswain/repos","events_url":"https://api.github.com/users/marshallswain/events{/privacy}","received_events_url":"https://api.github.com/users/marshallswain/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marshallswain/canjs-feathers","description":"CanJS model bindings for real-time updates from Feathers","fork":true,"url":"https://api.github.com/repos/marshallswain/canjs-feathers","forks_url":"https://api.github.com/repos/marshallswain/canjs-feathers/forks","keys_url":"https://api.github.com/repos/marshallswain/canjs-feathers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marshallswain/canjs-feathers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marshallswain/canjs-feathers/teams","hooks_url":"https://api.github.com/repos/marshallswain/canjs-feathers/hooks","issue_events_url":"https://api.github.com/repos/marshallswain/canjs-feathers/issues/events{/number}","events_url":"https://api.github.com/repos/marshallswain/canjs-feathers/events","assignees_url":"https://api.github.com/repos/marshallswain/canjs-feathers/assignees{/user}","branches_url":"https://api.github.com/repos/marshallswain/canjs-feathers/branches{/branch}","tags_url":"https://api.github.com/repos/marshallswain/canjs-feathers/tags","blobs_url":"https://api.github.com/repos/marshallswain/canjs-feathers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marshallswain/canjs-feathers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marshallswain/canjs-feathers/git/refs{/sha}","trees_url":"https://api.github.com/repos/marshallswain/canjs-feathers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marshallswain/canjs-feathers/statuses/{sha}","languages_url":"https://api.github.com/repos/marshallswain/canjs-feathers/languages","stargazers_url":"https://api.github.com/repos/marshallswain/canjs-feathers/stargazers","contributors_url":"https://api.github.com/repos/marshallswain/canjs-feathers/contributors","subscribers_url":"https://api.github.com/repos/marshallswain/canjs-feathers/subscribers","subscription_url":"https://api.github.com/repos/marshallswain/canjs-feathers/subscription","commits_url":"https://api.github.com/repos/marshallswain/canjs-feathers/commits{/sha}","git_commits_url":"https://api.github.com/repos/marshallswain/canjs-feathers/git/commits{/sha}","comments_url":"https://api.github.com/repos/marshallswain/canjs-feathers/comments{/number}","issue_comment_url":"https://api.github.com/repos/marshallswain/canjs-feathers/issues/comments{/number}","contents_url":"https://api.github.com/repos/marshallswain/canjs-feathers/contents/{+path}","compare_url":"https://api.github.com/repos/marshallswain/canjs-feathers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marshallswain/canjs-feathers/merges","archive_url":"https://api.github.com/repos/marshallswain/canjs-feathers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marshallswain/canjs-feathers/downloads","issues_url":"https://api.github.com/repos/marshallswain/canjs-feathers/issues{/number}","pulls_url":"https://api.github.com/repos/marshallswain/canjs-feathers/pulls{/number}","milestones_url":"https://api.github.com/repos/marshallswain/canjs-feathers/milestones{/number}","notifications_url":"https://api.github.com/repos/marshallswain/canjs-feathers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marshallswain/canjs-feathers/labels{/name}","releases_url":"https://api.github.com/repos/marshallswain/canjs-feathers/releases{/id}","created_at":"2015-02-18T06:00:13Z","updated_at":"2015-02-18T06:00:13Z","pushed_at":"2015-02-19T18:05:00Z","git_url":"git://github.com/marshallswain/canjs-feathers.git","ssh_url":"git@github.com:marshallswain/canjs-feathers.git","clone_url":"https://github.com/marshallswain/canjs-feathers.git","svn_url":"https://github.com/marshallswain/canjs-feathers","homepage":null,"size":142,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"feathersjs:master","ref":"master","sha":"2d599ad1c520e1038e9c7180d40032aee54dca4e","user":{"login":"feathersjs","id":5321853,"avatar_url":"https://avatars.githubusercontent.com/u/5321853?v=3","gravatar_id":"","url":"https://api.github.com/users/feathersjs","html_url":"https://github.com/feathersjs","followers_url":"https://api.github.com/users/feathersjs/followers","following_url":"https://api.github.com/users/feathersjs/following{/other_user}","gists_url":"https://api.github.com/users/feathersjs/gists{/gist_id}","starred_url":"https://api.github.com/users/feathersjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feathersjs/subscriptions","organizations_url":"https://api.github.com/users/feathersjs/orgs","repos_url":"https://api.github.com/users/feathersjs/repos","events_url":"https://api.github.com/users/feathersjs/events{/privacy}","received_events_url":"https://api.github.com/users/feathersjs/received_events","type":"Organization","site_admin":false},"repo":{"id":18625275,"name":"canjs-feathers","full_name":"feathersjs/canjs-feathers","owner":{"login":"feathersjs","id":5321853,"avatar_url":"https://avatars.githubusercontent.com/u/5321853?v=3","gravatar_id":"","url":"https://api.github.com/users/feathersjs","html_url":"https://github.com/feathersjs","followers_url":"https://api.github.com/users/feathersjs/followers","following_url":"https://api.github.com/users/feathersjs/following{/other_user}","gists_url":"https://api.github.com/users/feathersjs/gists{/gist_id}","starred_url":"https://api.github.com/users/feathersjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feathersjs/subscriptions","organizations_url":"https://api.github.com/users/feathersjs/orgs","repos_url":"https://api.github.com/users/feathersjs/repos","events_url":"https://api.github.com/users/feathersjs/events{/privacy}","received_events_url":"https://api.github.com/users/feathersjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/feathersjs/canjs-feathers","description":"CanJS model bindings for real-time updates from Feathers","fork":false,"url":"https://api.github.com/repos/feathersjs/canjs-feathers","forks_url":"https://api.github.com/repos/feathersjs/canjs-feathers/forks","keys_url":"https://api.github.com/repos/feathersjs/canjs-feathers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feathersjs/canjs-feathers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feathersjs/canjs-feathers/teams","hooks_url":"https://api.github.com/repos/feathersjs/canjs-feathers/hooks","issue_events_url":"https://api.github.com/repos/feathersjs/canjs-feathers/issues/events{/number}","events_url":"https://api.github.com/repos/feathersjs/canjs-feathers/events","assignees_url":"https://api.github.com/repos/feathersjs/canjs-feathers/assignees{/user}","branches_url":"https://api.github.com/repos/feathersjs/canjs-feathers/branches{/branch}","tags_url":"https://api.github.com/repos/feathersjs/canjs-feathers/tags","blobs_url":"https://api.github.com/repos/feathersjs/canjs-feathers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feathersjs/canjs-feathers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feathersjs/canjs-feathers/git/refs{/sha}","trees_url":"https://api.github.com/repos/feathersjs/canjs-feathers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feathersjs/canjs-feathers/statuses/{sha}","languages_url":"https://api.github.com/repos/feathersjs/canjs-feathers/languages","stargazers_url":"https://api.github.com/repos/feathersjs/canjs-feathers/stargazers","contributors_url":"https://api.github.com/repos/feathersjs/canjs-feathers/contributors","subscribers_url":"https://api.github.com/repos/feathersjs/canjs-feathers/subscribers","subscription_url":"https://api.github.com/repos/feathersjs/canjs-feathers/subscription","commits_url":"https://api.github.com/repos/feathersjs/canjs-feathers/commits{/sha}","git_commits_url":"https://api.github.com/repos/feathersjs/canjs-feathers/git/commits{/sha}","comments_url":"https://api.github.com/repos/feathersjs/canjs-feathers/comments{/number}","issue_comment_url":"https://api.github.com/repos/feathersjs/canjs-feathers/issues/comments{/number}","contents_url":"https://api.github.com/repos/feathersjs/canjs-feathers/contents/{+path}","compare_url":"https://api.github.com/repos/feathersjs/canjs-feathers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feathersjs/canjs-feathers/merges","archive_url":"https://api.github.com/repos/feathersjs/canjs-feathers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feathersjs/canjs-feathers/downloads","issues_url":"https://api.github.com/repos/feathersjs/canjs-feathers/issues{/number}","pulls_url":"https://api.github.com/repos/feathersjs/canjs-feathers/pulls{/number}","milestones_url":"https://api.github.com/repos/feathersjs/canjs-feathers/milestones{/number}","notifications_url":"https://api.github.com/repos/feathersjs/canjs-feathers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feathersjs/canjs-feathers/labels{/name}","releases_url":"https://api.github.com/repos/feathersjs/canjs-feathers/releases{/id}","created_at":"2014-04-10T05:38:31Z","updated_at":"2015-06-21T13:58:06Z","pushed_at":"2015-07-06T04:38:42Z","git_url":"git://github.com/feathersjs/canjs-feathers.git","ssh_url":"git@github.com:feathersjs/canjs-feathers.git","clone_url":"https://github.com/feathersjs/canjs-feathers.git","svn_url":"https://github.com/feathersjs/canjs-feathers","homepage":null,"size":358,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/feathersjs/canjs-feathers/pulls/20"},"html":{"href":"https://github.com/feathersjs/canjs-feathers/pull/20"},"issue":{"href":"https://api.github.com/repos/feathersjs/canjs-feathers/issues/20"},"comments":{"href":"https://api.github.com/repos/feathersjs/canjs-feathers/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/feathersjs/canjs-feathers/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/feathersjs/canjs-feathers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/feathersjs/canjs-feathers/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/feathersjs/canjs-feathers/statuses/d36743f2089ecb425ef28af66bb5e404c368d5e1"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":1}}