{"action":"closed","number":54,"pull_request":{"url":"https://api.github.com/repos/canjs/can-connect/pulls/54","id":51464626,"html_url":"https://github.com/canjs/can-connect/pull/54","diff_url":"https://github.com/canjs/can-connect/pull/54.diff","patch_url":"https://github.com/canjs/can-connect/pull/54.patch","issue_url":"https://api.github.com/repos/canjs/can-connect/issues/54","number":54,"state":"closed","locked":false,"title":"Not passing a set means passing `{}`","user":{"login":"pYr0x","id":1126711,"avatar_url":"https://avatars.githubusercontent.com/u/1126711?v=3","gravatar_id":"","url":"https://api.github.com/users/pYr0x","html_url":"https://github.com/pYr0x","followers_url":"https://api.github.com/users/pYr0x/followers","following_url":"https://api.github.com/users/pYr0x/following{/other_user}","gists_url":"https://api.github.com/users/pYr0x/gists{/gist_id}","starred_url":"https://api.github.com/users/pYr0x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pYr0x/subscriptions","organizations_url":"https://api.github.com/users/pYr0x/orgs","repos_url":"https://api.github.com/users/pYr0x/repos","events_url":"https://api.github.com/users/pYr0x/events{/privacy}","received_events_url":"https://api.github.com/users/pYr0x/received_events","type":"User","site_admin":false},"body":"code:\r\n```\r\n    var todoConnection = connect.superMap({\r\n        idProp: \"_id\",\r\n        Map: Todo,\r\n        List: Todo.List,\r\n        url: {\r\n            getListData: 'GET get.php'\r\n        },\r\n        name: 'todos'\r\n    });\r\n\r\n    Todo.getList().then(function (todos) {\r\n        console.log(todos.attr());\r\n    });\r\n```\r\nresult before PR:\r\n![before](http://i.imgur.com/fDUR5kF.png)\r\nresult after PR:\r\n![after](http://i.imgur.com/fwPaTA0.png)\r\n\r\nmake ```Todo.getList()``` the same as ```Todo.getList({})```\r\n","created_at":"2015-11-22T13:19:03Z","updated_at":"2015-11-23T16:18:35Z","closed_at":"2015-11-23T16:18:35Z","merged_at":null,"merge_commit_sha":"8d52d61200111a27d1ecf3e9f8287258208bccc7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/canjs/can-connect/pulls/54/commits","review_comments_url":"https://api.github.com/repos/canjs/can-connect/pulls/54/comments","review_comment_url":"https://api.github.com/repos/canjs/can-connect/pulls/comments{/number}","comments_url":"https://api.github.com/repos/canjs/can-connect/issues/54/comments","statuses_url":"https://api.github.com/repos/canjs/can-connect/statuses/7449a786c745d7ebb09703fe97f8ca962431f44c","head":{"label":"pYr0x:common-behavior","ref":"common-behavior","sha":"7449a786c745d7ebb09703fe97f8ca962431f44c","user":{"login":"pYr0x","id":1126711,"avatar_url":"https://avatars.githubusercontent.com/u/1126711?v=3","gravatar_id":"","url":"https://api.github.com/users/pYr0x","html_url":"https://github.com/pYr0x","followers_url":"https://api.github.com/users/pYr0x/followers","following_url":"https://api.github.com/users/pYr0x/following{/other_user}","gists_url":"https://api.github.com/users/pYr0x/gists{/gist_id}","starred_url":"https://api.github.com/users/pYr0x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pYr0x/subscriptions","organizations_url":"https://api.github.com/users/pYr0x/orgs","repos_url":"https://api.github.com/users/pYr0x/repos","events_url":"https://api.github.com/users/pYr0x/events{/privacy}","received_events_url":"https://api.github.com/users/pYr0x/received_events","type":"User","site_admin":false},"repo":{"id":46383706,"name":"can-connect","full_name":"pYr0x/can-connect","owner":{"login":"pYr0x","id":1126711,"avatar_url":"https://avatars.githubusercontent.com/u/1126711?v=3","gravatar_id":"","url":"https://api.github.com/users/pYr0x","html_url":"https://github.com/pYr0x","followers_url":"https://api.github.com/users/pYr0x/followers","following_url":"https://api.github.com/users/pYr0x/following{/other_user}","gists_url":"https://api.github.com/users/pYr0x/gists{/gist_id}","starred_url":"https://api.github.com/users/pYr0x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pYr0x/subscriptions","organizations_url":"https://api.github.com/users/pYr0x/orgs","repos_url":"https://api.github.com/users/pYr0x/repos","events_url":"https://api.github.com/users/pYr0x/events{/privacy}","received_events_url":"https://api.github.com/users/pYr0x/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pYr0x/can-connect","description":"Model layer utilities for every JavaScript framework! Assemble real-time, high performance, restful data connections.","fork":true,"url":"https://api.github.com/repos/pYr0x/can-connect","forks_url":"https://api.github.com/repos/pYr0x/can-connect/forks","keys_url":"https://api.github.com/repos/pYr0x/can-connect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pYr0x/can-connect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pYr0x/can-connect/teams","hooks_url":"https://api.github.com/repos/pYr0x/can-connect/hooks","issue_events_url":"https://api.github.com/repos/pYr0x/can-connect/issues/events{/number}","events_url":"https://api.github.com/repos/pYr0x/can-connect/events","assignees_url":"https://api.github.com/repos/pYr0x/can-connect/assignees{/user}","branches_url":"https://api.github.com/repos/pYr0x/can-connect/branches{/branch}","tags_url":"https://api.github.com/repos/pYr0x/can-connect/tags","blobs_url":"https://api.github.com/repos/pYr0x/can-connect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pYr0x/can-connect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pYr0x/can-connect/git/refs{/sha}","trees_url":"https://api.github.com/repos/pYr0x/can-connect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pYr0x/can-connect/statuses/{sha}","languages_url":"https://api.github.com/repos/pYr0x/can-connect/languages","stargazers_url":"https://api.github.com/repos/pYr0x/can-connect/stargazers","contributors_url":"https://api.github.com/repos/pYr0x/can-connect/contributors","subscribers_url":"https://api.github.com/repos/pYr0x/can-connect/subscribers","subscription_url":"https://api.github.com/repos/pYr0x/can-connect/subscription","commits_url":"https://api.github.com/repos/pYr0x/can-connect/commits{/sha}","git_commits_url":"https://api.github.com/repos/pYr0x/can-connect/git/commits{/sha}","comments_url":"https://api.github.com/repos/pYr0x/can-connect/comments{/number}","issue_comment_url":"https://api.github.com/repos/pYr0x/can-connect/issues/comments{/number}","contents_url":"https://api.github.com/repos/pYr0x/can-connect/contents/{+path}","compare_url":"https://api.github.com/repos/pYr0x/can-connect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pYr0x/can-connect/merges","archive_url":"https://api.github.com/repos/pYr0x/can-connect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pYr0x/can-connect/downloads","issues_url":"https://api.github.com/repos/pYr0x/can-connect/issues{/number}","pulls_url":"https://api.github.com/repos/pYr0x/can-connect/pulls{/number}","milestones_url":"https://api.github.com/repos/pYr0x/can-connect/milestones{/number}","notifications_url":"https://api.github.com/repos/pYr0x/can-connect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pYr0x/can-connect/labels{/name}","releases_url":"https://api.github.com/repos/pYr0x/can-connect/releases{/id}","created_at":"2015-11-18T00:07:24Z","updated_at":"2015-11-18T00:07:25Z","pushed_at":"2015-11-22T14:55:58Z","git_url":"git://github.com/pYr0x/can-connect.git","ssh_url":"git@github.com:pYr0x/can-connect.git","clone_url":"https://github.com/pYr0x/can-connect.git","svn_url":"https://github.com/pYr0x/can-connect","homepage":"http://connect.canjs.com","size":667,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"canjs:master","ref":"master","sha":"4f95fdb53177529a64f038e558a04e8b32aacfb3","user":{"login":"canjs","id":11798761,"avatar_url":"https://avatars.githubusercontent.com/u/11798761?v=3","gravatar_id":"","url":"https://api.github.com/users/canjs","html_url":"https://github.com/canjs","followers_url":"https://api.github.com/users/canjs/followers","following_url":"https://api.github.com/users/canjs/following{/other_user}","gists_url":"https://api.github.com/users/canjs/gists{/gist_id}","starred_url":"https://api.github.com/users/canjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canjs/subscriptions","organizations_url":"https://api.github.com/users/canjs/orgs","repos_url":"https://api.github.com/users/canjs/repos","events_url":"https://api.github.com/users/canjs/events{/privacy}","received_events_url":"https://api.github.com/users/canjs/received_events","type":"Organization","site_admin":false},"repo":{"id":32563284,"name":"can-connect","full_name":"canjs/can-connect","owner":{"login":"canjs","id":11798761,"avatar_url":"https://avatars.githubusercontent.com/u/11798761?v=3","gravatar_id":"","url":"https://api.github.com/users/canjs","html_url":"https://github.com/canjs","followers_url":"https://api.github.com/users/canjs/followers","following_url":"https://api.github.com/users/canjs/following{/other_user}","gists_url":"https://api.github.com/users/canjs/gists{/gist_id}","starred_url":"https://api.github.com/users/canjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canjs/subscriptions","organizations_url":"https://api.github.com/users/canjs/orgs","repos_url":"https://api.github.com/users/canjs/repos","events_url":"https://api.github.com/users/canjs/events{/privacy}","received_events_url":"https://api.github.com/users/canjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/canjs/can-connect","description":"Model layer utilities for every JavaScript framework! Assemble real-time, high performance, restful data connections.","fork":false,"url":"https://api.github.com/repos/canjs/can-connect","forks_url":"https://api.github.com/repos/canjs/can-connect/forks","keys_url":"https://api.github.com/repos/canjs/can-connect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/canjs/can-connect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/canjs/can-connect/teams","hooks_url":"https://api.github.com/repos/canjs/can-connect/hooks","issue_events_url":"https://api.github.com/repos/canjs/can-connect/issues/events{/number}","events_url":"https://api.github.com/repos/canjs/can-connect/events","assignees_url":"https://api.github.com/repos/canjs/can-connect/assignees{/user}","branches_url":"https://api.github.com/repos/canjs/can-connect/branches{/branch}","tags_url":"https://api.github.com/repos/canjs/can-connect/tags","blobs_url":"https://api.github.com/repos/canjs/can-connect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/canjs/can-connect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/canjs/can-connect/git/refs{/sha}","trees_url":"https://api.github.com/repos/canjs/can-connect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/canjs/can-connect/statuses/{sha}","languages_url":"https://api.github.com/repos/canjs/can-connect/languages","stargazers_url":"https://api.github.com/repos/canjs/can-connect/stargazers","contributors_url":"https://api.github.com/repos/canjs/can-connect/contributors","subscribers_url":"https://api.github.com/repos/canjs/can-connect/subscribers","subscription_url":"https://api.github.com/repos/canjs/can-connect/subscription","commits_url":"https://api.github.com/repos/canjs/can-connect/commits{/sha}","git_commits_url":"https://api.github.com/repos/canjs/can-connect/git/commits{/sha}","comments_url":"https://api.github.com/repos/canjs/can-connect/comments{/number}","issue_comment_url":"https://api.github.com/repos/canjs/can-connect/issues/comments{/number}","contents_url":"https://api.github.com/repos/canjs/can-connect/contents/{+path}","compare_url":"https://api.github.com/repos/canjs/can-connect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/canjs/can-connect/merges","archive_url":"https://api.github.com/repos/canjs/can-connect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/canjs/can-connect/downloads","issues_url":"https://api.github.com/repos/canjs/can-connect/issues{/number}","pulls_url":"https://api.github.com/repos/canjs/can-connect/pulls{/number}","milestones_url":"https://api.github.com/repos/canjs/can-connect/milestones{/number}","notifications_url":"https://api.github.com/repos/canjs/can-connect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/canjs/can-connect/labels{/name}","releases_url":"https://api.github.com/repos/canjs/can-connect/releases{/id}","created_at":"2015-03-20T04:56:19Z","updated_at":"2015-11-10T17:40:11Z","pushed_at":"2015-11-22T22:33:11Z","git_url":"git://github.com/canjs/can-connect.git","ssh_url":"git@github.com:canjs/can-connect.git","clone_url":"https://github.com/canjs/can-connect.git","svn_url":"https://github.com/canjs/can-connect","homepage":"http://connect.canjs.com","size":3502,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":18,"forks":7,"open_issues":18,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/canjs/can-connect/pulls/54"},"html":{"href":"https://github.com/canjs/can-connect/pull/54"},"issue":{"href":"https://api.github.com/repos/canjs/can-connect/issues/54"},"comments":{"href":"https://api.github.com/repos/canjs/can-connect/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/canjs/can-connect/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/canjs/can-connect/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/canjs/can-connect/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/canjs/can-connect/statuses/7449a786c745d7ebb09703fe97f8ca962431f44c"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":3,"commits":5,"additions":9,"deletions":10,"changed_files":2}}