{"action":"created","comment":{"url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/pulls/comments/44232448","id":44232448,"diff_hunk":"@@ -1,12 +1,12 @@\n-\n /**\n  * Manages the species data type in the output model.\n  * Allows species information to be searched for and displayed.\n  */\n-var SpeciesViewModel = function(o, lists){\n+var SpeciesViewModel = function (o, lists, populate) {\n     var self = this;\n-    if(!o) o = {};\n-    if(!lists) lists = {};\n+    if (!o) o = {};","path":"web-app/js/speciesModel.js","position":11,"original_position":11,"commit_id":"fdb620e99eb0dbbce32b3cedef8598fa61930d7f","original_commit_id":"fdb620e99eb0dbbce32b3cedef8598fa61930d7f","user":{"login":"sat01a","id":4197871,"avatar_url":"https://avatars.githubusercontent.com/u/4197871?v=3","gravatar_id":"","url":"https://api.github.com/users/sat01a","html_url":"https://github.com/sat01a","followers_url":"https://api.github.com/users/sat01a/followers","following_url":"https://api.github.com/users/sat01a/following{/other_user}","gists_url":"https://api.github.com/users/sat01a/gists{/gist_id}","starred_url":"https://api.github.com/users/sat01a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sat01a/subscriptions","organizations_url":"https://api.github.com/users/sat01a/orgs","repos_url":"https://api.github.com/users/sat01a/repos","events_url":"https://api.github.com/users/sat01a/events{/privacy}","received_events_url":"https://api.github.com/users/sat01a/received_events","type":"User","site_admin":false},"body":"o for objects, replaced o with species to make it bit more obvious.","created_at":"2015-11-08T23:07:31Z","updated_at":"2015-11-08T23:07:31Z","html_url":"https://github.com/AtlasOfLivingAustralia/biocollect/pull/224#discussion_r44232448","pull_request_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/pulls/224","_links":{"self":{"href":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/pulls/comments/44232448"},"html":{"href":"https://github.com/AtlasOfLivingAustralia/biocollect/pull/224#discussion_r44232448"},"pull_request":{"href":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/pulls/224"}}},"pull_request":{"url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/pulls/224","id":49783876,"html_url":"https://github.com/AtlasOfLivingAustralia/biocollect/pull/224","diff_url":"https://github.com/AtlasOfLivingAustralia/biocollect/pull/224.diff","patch_url":"https://github.com/AtlasOfLivingAustralia/biocollect/pull/224.patch","issue_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/issues/224","number":224,"state":"closed","locked":false,"title":"Biocollect 162","user":{"login":"sat01a","id":4197871,"avatar_url":"https://avatars.githubusercontent.com/u/4197871?v=3","gravatar_id":"","url":"https://api.github.com/users/sat01a","html_url":"https://github.com/sat01a","followers_url":"https://api.github.com/users/sat01a/followers","following_url":"https://api.github.com/users/sat01a/following{/other_user}","gists_url":"https://api.github.com/users/sat01a/gists{/gist_id}","starred_url":"https://api.github.com/users/sat01a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sat01a/subscriptions","organizations_url":"https://api.github.com/users/sat01a/orgs","repos_url":"https://api.github.com/users/sat01a/repos","events_url":"https://api.github.com/users/sat01a/events{/privacy}","received_events_url":"https://api.github.com/users/sat01a/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-05T05:26:51Z","updated_at":"2015-11-08T23:07:31Z","closed_at":"2015-11-05T05:51:08Z","merged_at":"2015-11-05T05:51:08Z","merge_commit_sha":"74e2bc978463d79e3ea5c15ad0ce663060dae733","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/pulls/224/commits","review_comments_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/pulls/224/comments","review_comment_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/issues/224/comments","statuses_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/statuses/fdb620e99eb0dbbce32b3cedef8598fa61930d7f","head":{"label":"AtlasOfLivingAustralia:biocollect-162","ref":"biocollect-162","sha":"fdb620e99eb0dbbce32b3cedef8598fa61930d7f","user":{"login":"AtlasOfLivingAustralia","id":7296572,"avatar_url":"https://avatars.githubusercontent.com/u/7296572?v=3","gravatar_id":"","url":"https://api.github.com/users/AtlasOfLivingAustralia","html_url":"https://github.com/AtlasOfLivingAustralia","followers_url":"https://api.github.com/users/AtlasOfLivingAustralia/followers","following_url":"https://api.github.com/users/AtlasOfLivingAustralia/following{/other_user}","gists_url":"https://api.github.com/users/AtlasOfLivingAustralia/gists{/gist_id}","starred_url":"https://api.github.com/users/AtlasOfLivingAustralia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtlasOfLivingAustralia/subscriptions","organizations_url":"https://api.github.com/users/AtlasOfLivingAustralia/orgs","repos_url":"https://api.github.com/users/AtlasOfLivingAustralia/repos","events_url":"https://api.github.com/users/AtlasOfLivingAustralia/events{/privacy}","received_events_url":"https://api.github.com/users/AtlasOfLivingAustralia/received_events","type":"Organization","site_admin":false},"repo":{"id":41022896,"name":"biocollect","full_name":"AtlasOfLivingAustralia/biocollect","owner":{"login":"AtlasOfLivingAustralia","id":7296572,"avatar_url":"https://avatars.githubusercontent.com/u/7296572?v=3","gravatar_id":"","url":"https://api.github.com/users/AtlasOfLivingAustralia","html_url":"https://github.com/AtlasOfLivingAustralia","followers_url":"https://api.github.com/users/AtlasOfLivingAustralia/followers","following_url":"https://api.github.com/users/AtlasOfLivingAustralia/following{/other_user}","gists_url":"https://api.github.com/users/AtlasOfLivingAustralia/gists{/gist_id}","starred_url":"https://api.github.com/users/AtlasOfLivingAustralia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtlasOfLivingAustralia/subscriptions","organizations_url":"https://api.github.com/users/AtlasOfLivingAustralia/orgs","repos_url":"https://api.github.com/users/AtlasOfLivingAustralia/repos","events_url":"https://api.github.com/users/AtlasOfLivingAustralia/events{/privacy}","received_events_url":"https://api.github.com/users/AtlasOfLivingAustralia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AtlasOfLivingAustralia/biocollect","description":"","fork":false,"url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect","forks_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/forks","keys_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/teams","hooks_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/hooks","issue_events_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/issues/events{/number}","events_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/events","assignees_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/assignees{/user}","branches_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/branches{/branch}","tags_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/tags","blobs_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/git/refs{/sha}","trees_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/statuses/{sha}","languages_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/languages","stargazers_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/stargazers","contributors_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/contributors","subscribers_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/subscribers","subscription_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/subscription","commits_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/commits{/sha}","git_commits_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/git/commits{/sha}","comments_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/comments{/number}","issue_comment_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/issues/comments{/number}","contents_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/contents/{+path}","compare_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/merges","archive_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/downloads","issues_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/issues{/number}","pulls_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/pulls{/number}","milestones_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/milestones{/number}","notifications_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/labels{/name}","releases_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/releases{/id}","created_at":"2015-08-19T08:40:01Z","updated_at":"2015-08-19T08:45:47Z","pushed_at":"2015-11-08T23:05:04Z","git_url":"git://github.com/AtlasOfLivingAustralia/biocollect.git","ssh_url":"git@github.com:AtlasOfLivingAustralia/biocollect.git","clone_url":"https://github.com/AtlasOfLivingAustralia/biocollect.git","svn_url":"https://github.com/AtlasOfLivingAustralia/biocollect","homepage":"","size":8943,"stargazers_count":0,"watchers_count":0,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":81,"forks":3,"open_issues":81,"watchers":0,"default_branch":"master"}},"base":{"label":"AtlasOfLivingAustralia:dev","ref":"dev","sha":"f29c62ffc4546f4499f0fead5c8fb2130497eab7","user":{"login":"AtlasOfLivingAustralia","id":7296572,"avatar_url":"https://avatars.githubusercontent.com/u/7296572?v=3","gravatar_id":"","url":"https://api.github.com/users/AtlasOfLivingAustralia","html_url":"https://github.com/AtlasOfLivingAustralia","followers_url":"https://api.github.com/users/AtlasOfLivingAustralia/followers","following_url":"https://api.github.com/users/AtlasOfLivingAustralia/following{/other_user}","gists_url":"https://api.github.com/users/AtlasOfLivingAustralia/gists{/gist_id}","starred_url":"https://api.github.com/users/AtlasOfLivingAustralia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtlasOfLivingAustralia/subscriptions","organizations_url":"https://api.github.com/users/AtlasOfLivingAustralia/orgs","repos_url":"https://api.github.com/users/AtlasOfLivingAustralia/repos","events_url":"https://api.github.com/users/AtlasOfLivingAustralia/events{/privacy}","received_events_url":"https://api.github.com/users/AtlasOfLivingAustralia/received_events","type":"Organization","site_admin":false},"repo":{"id":41022896,"name":"biocollect","full_name":"AtlasOfLivingAustralia/biocollect","owner":{"login":"AtlasOfLivingAustralia","id":7296572,"avatar_url":"https://avatars.githubusercontent.com/u/7296572?v=3","gravatar_id":"","url":"https://api.github.com/users/AtlasOfLivingAustralia","html_url":"https://github.com/AtlasOfLivingAustralia","followers_url":"https://api.github.com/users/AtlasOfLivingAustralia/followers","following_url":"https://api.github.com/users/AtlasOfLivingAustralia/following{/other_user}","gists_url":"https://api.github.com/users/AtlasOfLivingAustralia/gists{/gist_id}","starred_url":"https://api.github.com/users/AtlasOfLivingAustralia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtlasOfLivingAustralia/subscriptions","organizations_url":"https://api.github.com/users/AtlasOfLivingAustralia/orgs","repos_url":"https://api.github.com/users/AtlasOfLivingAustralia/repos","events_url":"https://api.github.com/users/AtlasOfLivingAustralia/events{/privacy}","received_events_url":"https://api.github.com/users/AtlasOfLivingAustralia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AtlasOfLivingAustralia/biocollect","description":"","fork":false,"url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect","forks_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/forks","keys_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/teams","hooks_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/hooks","issue_events_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/issues/events{/number}","events_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/events","assignees_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/assignees{/user}","branches_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/branches{/branch}","tags_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/tags","blobs_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/git/refs{/sha}","trees_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/statuses/{sha}","languages_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/languages","stargazers_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/stargazers","contributors_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/contributors","subscribers_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/subscribers","subscription_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/subscription","commits_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/commits{/sha}","git_commits_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/git/commits{/sha}","comments_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/comments{/number}","issue_comment_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/issues/comments{/number}","contents_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/contents/{+path}","compare_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/merges","archive_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/downloads","issues_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/issues{/number}","pulls_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/pulls{/number}","milestones_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/milestones{/number}","notifications_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/labels{/name}","releases_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/releases{/id}","created_at":"2015-08-19T08:40:01Z","updated_at":"2015-08-19T08:45:47Z","pushed_at":"2015-11-08T23:05:04Z","git_url":"git://github.com/AtlasOfLivingAustralia/biocollect.git","ssh_url":"git@github.com:AtlasOfLivingAustralia/biocollect.git","clone_url":"https://github.com/AtlasOfLivingAustralia/biocollect.git","svn_url":"https://github.com/AtlasOfLivingAustralia/biocollect","homepage":"","size":8943,"stargazers_count":0,"watchers_count":0,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":81,"forks":3,"open_issues":81,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/pulls/224"},"html":{"href":"https://github.com/AtlasOfLivingAustralia/biocollect/pull/224"},"issue":{"href":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/issues/224"},"comments":{"href":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/issues/224/comments"},"review_comments":{"href":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/pulls/224/comments"},"review_comment":{"href":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/pulls/224/commits"},"statuses":{"href":"https://api.github.com/repos/AtlasOfLivingAustralia/biocollect/statuses/fdb620e99eb0dbbce32b3cedef8598fa61930d7f"}}}}