{"action":"closed","number":63,"pull_request":{"url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/pulls/63","id":34162706,"html_url":"https://github.com/viezel/napp.alloy.adapter.restapi/pull/63","diff_url":"https://github.com/viezel/napp.alloy.adapter.restapi/pull/63.diff","patch_url":"https://github.com/viezel/napp.alloy.adapter.restapi/pull/63.patch","issue_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/issues/63","number":63,"state":"closed","locked":false,"title":"parentNode can be defined as a function.","user":{"login":"yomybaby","id":621215,"avatar_url":"https://avatars.githubusercontent.com/u/621215?v=3","gravatar_id":"","url":"https://api.github.com/users/yomybaby","html_url":"https://github.com/yomybaby","followers_url":"https://api.github.com/users/yomybaby/followers","following_url":"https://api.github.com/users/yomybaby/following{/other_user}","gists_url":"https://api.github.com/users/yomybaby/gists{/gist_id}","starred_url":"https://api.github.com/users/yomybaby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yomybaby/subscriptions","organizations_url":"https://api.github.com/users/yomybaby/orgs","repos_url":"https://api.github.com/users/yomybaby/repos","events_url":"https://api.github.com/users/yomybaby/events{/privacy}","received_events_url":"https://api.github.com/users/yomybaby/received_events","type":"User","site_admin":false},"body":"You can do more thing in parent. \r\n```javascript\r\n\"parentNode\": function (data, _response, model) {\r\n        // do something \r\n        return real_data;\r\n} //your root node\r\n```\r\nIn some case, parentNode as function is useful.\r\nFor example, some API has parentNode when collection.fetch but doesn't have in model.create and model.fetch.","created_at":"2015-04-27T12:09:07Z","updated_at":"2015-04-29T11:34:39Z","closed_at":"2015-04-29T11:34:39Z","merged_at":"2015-04-29T11:34:39Z","merge_commit_sha":"e4aceda3024fbf21417b558b8bbf812dc7c87a3b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/pulls/63/commits","review_comments_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/pulls/63/comments","review_comment_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/issues/63/comments","statuses_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/statuses/2fab2427ea298abda8a7c0667cb35807fe796281","head":{"label":"yomybaby:parentNode_as_function","ref":"parentNode_as_function","sha":"2fab2427ea298abda8a7c0667cb35807fe796281","user":{"login":"yomybaby","id":621215,"avatar_url":"https://avatars.githubusercontent.com/u/621215?v=3","gravatar_id":"","url":"https://api.github.com/users/yomybaby","html_url":"https://github.com/yomybaby","followers_url":"https://api.github.com/users/yomybaby/followers","following_url":"https://api.github.com/users/yomybaby/following{/other_user}","gists_url":"https://api.github.com/users/yomybaby/gists{/gist_id}","starred_url":"https://api.github.com/users/yomybaby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yomybaby/subscriptions","organizations_url":"https://api.github.com/users/yomybaby/orgs","repos_url":"https://api.github.com/users/yomybaby/repos","events_url":"https://api.github.com/users/yomybaby/events{/privacy}","received_events_url":"https://api.github.com/users/yomybaby/received_events","type":"User","site_admin":false},"repo":{"id":15671677,"name":"napp.alloy.adapter.restapi","full_name":"yomybaby/napp.alloy.adapter.restapi","owner":{"login":"yomybaby","id":621215,"avatar_url":"https://avatars.githubusercontent.com/u/621215?v=3","gravatar_id":"","url":"https://api.github.com/users/yomybaby","html_url":"https://github.com/yomybaby","followers_url":"https://api.github.com/users/yomybaby/followers","following_url":"https://api.github.com/users/yomybaby/following{/other_user}","gists_url":"https://api.github.com/users/yomybaby/gists{/gist_id}","starred_url":"https://api.github.com/users/yomybaby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yomybaby/subscriptions","organizations_url":"https://api.github.com/users/yomybaby/orgs","repos_url":"https://api.github.com/users/yomybaby/repos","events_url":"https://api.github.com/users/yomybaby/events{/privacy}","received_events_url":"https://api.github.com/users/yomybaby/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yomybaby/napp.alloy.adapter.restapi","description":"RestAPI Sync Adapter for Titanium Alloy Framework","fork":true,"url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi","forks_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/forks","keys_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/teams","hooks_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/hooks","issue_events_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/issues/events{/number}","events_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/events","assignees_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/assignees{/user}","branches_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/branches{/branch}","tags_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/tags","blobs_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/statuses/{sha}","languages_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/languages","stargazers_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/stargazers","contributors_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/contributors","subscribers_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/subscribers","subscription_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/subscription","commits_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/contents/{+path}","compare_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/merges","archive_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/downloads","issues_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/issues{/number}","pulls_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/pulls{/number}","milestones_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/milestones{/number}","notifications_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/labels{/name}","releases_url":"https://api.github.com/repos/yomybaby/napp.alloy.adapter.restapi/releases{/id}","created_at":"2014-01-06T10:50:09Z","updated_at":"2015-04-27T12:01:14Z","pushed_at":"2015-04-28T22:28:55Z","git_url":"git://github.com/yomybaby/napp.alloy.adapter.restapi.git","ssh_url":"git@github.com:yomybaby/napp.alloy.adapter.restapi.git","clone_url":"https://github.com/yomybaby/napp.alloy.adapter.restapi.git","svn_url":"https://github.com/yomybaby/napp.alloy.adapter.restapi","homepage":null,"size":189,"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":"viezel:master","ref":"master","sha":"f2489da2a85d6cf51929921238c3c88e3933dca2","user":{"login":"viezel","id":312065,"avatar_url":"https://avatars.githubusercontent.com/u/312065?v=3","gravatar_id":"","url":"https://api.github.com/users/viezel","html_url":"https://github.com/viezel","followers_url":"https://api.github.com/users/viezel/followers","following_url":"https://api.github.com/users/viezel/following{/other_user}","gists_url":"https://api.github.com/users/viezel/gists{/gist_id}","starred_url":"https://api.github.com/users/viezel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viezel/subscriptions","organizations_url":"https://api.github.com/users/viezel/orgs","repos_url":"https://api.github.com/users/viezel/repos","events_url":"https://api.github.com/users/viezel/events{/privacy}","received_events_url":"https://api.github.com/users/viezel/received_events","type":"User","site_admin":false},"repo":{"id":7245824,"name":"napp.alloy.adapter.restapi","full_name":"viezel/napp.alloy.adapter.restapi","owner":{"login":"viezel","id":312065,"avatar_url":"https://avatars.githubusercontent.com/u/312065?v=3","gravatar_id":"","url":"https://api.github.com/users/viezel","html_url":"https://github.com/viezel","followers_url":"https://api.github.com/users/viezel/followers","following_url":"https://api.github.com/users/viezel/following{/other_user}","gists_url":"https://api.github.com/users/viezel/gists{/gist_id}","starred_url":"https://api.github.com/users/viezel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viezel/subscriptions","organizations_url":"https://api.github.com/users/viezel/orgs","repos_url":"https://api.github.com/users/viezel/repos","events_url":"https://api.github.com/users/viezel/events{/privacy}","received_events_url":"https://api.github.com/users/viezel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/viezel/napp.alloy.adapter.restapi","description":"RestAPI Sync Adapter for Titanium Alloy Framework","fork":false,"url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi","forks_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/forks","keys_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/teams","hooks_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/hooks","issue_events_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/issues/events{/number}","events_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/events","assignees_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/assignees{/user}","branches_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/branches{/branch}","tags_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/tags","blobs_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/statuses/{sha}","languages_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/languages","stargazers_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/stargazers","contributors_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/contributors","subscribers_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/subscribers","subscription_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/subscription","commits_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/contents/{+path}","compare_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/merges","archive_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/downloads","issues_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/issues{/number}","pulls_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/pulls{/number}","milestones_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/milestones{/number}","notifications_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/labels{/name}","releases_url":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/releases{/id}","created_at":"2012-12-19T19:10:08Z","updated_at":"2015-04-29T09:23:50Z","pushed_at":"2015-04-29T11:34:38Z","git_url":"git://github.com/viezel/napp.alloy.adapter.restapi.git","ssh_url":"git@github.com:viezel/napp.alloy.adapter.restapi.git","clone_url":"https://github.com/viezel/napp.alloy.adapter.restapi.git","svn_url":"https://github.com/viezel/napp.alloy.adapter.restapi","homepage":null,"size":404,"stargazers_count":189,"watchers_count":189,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":102,"mirror_url":null,"open_issues_count":20,"forks":102,"open_issues":20,"watchers":189,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/pulls/63"},"html":{"href":"https://github.com/viezel/napp.alloy.adapter.restapi/pull/63"},"issue":{"href":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/issues/63"},"comments":{"href":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/viezel/napp.alloy.adapter.restapi/statuses/2fab2427ea298abda8a7c0667cb35807fe796281"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"viezel","id":312065,"avatar_url":"https://avatars.githubusercontent.com/u/312065?v=3","gravatar_id":"","url":"https://api.github.com/users/viezel","html_url":"https://github.com/viezel","followers_url":"https://api.github.com/users/viezel/followers","following_url":"https://api.github.com/users/viezel/following{/other_user}","gists_url":"https://api.github.com/users/viezel/gists{/gist_id}","starred_url":"https://api.github.com/users/viezel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viezel/subscriptions","organizations_url":"https://api.github.com/users/viezel/orgs","repos_url":"https://api.github.com/users/viezel/repos","events_url":"https://api.github.com/users/viezel/events{/privacy}","received_events_url":"https://api.github.com/users/viezel/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":6,"changed_files":1}}