{"action":"created","comment":{"url":"https://api.github.com/repos/humanitarianresponse/site/pulls/comments/45710417","id":45710417,"diff_hunk":"@@ -21,16 +21,30 @@ function hr_datasets_hdx_datasets($operation){\n \n   drupal_add_js(drupal_get_path('module', 'hr_datasets') . '/js/hr_datasets.js');\n   drupal_add_js(array('hr_datasets' => array('operation' => $iso3code)), 'setting');\n+  \n+  if (($library = libraries_detect('moment'))) {","path":"sites/all/modules/hr/hr_datasets/hr_datasets.pages.inc","position":14,"original_position":14,"commit_id":"c9c00fd91e38a177a1f58d2f845f0078a55697b8","original_commit_id":"c9c00fd91e38a177a1f58d2f845f0078a55697b8","user":{"login":"pcambra","id":104912,"avatar_url":"https://avatars.githubusercontent.com/u/104912?v=3","gravatar_id":"","url":"https://api.github.com/users/pcambra","html_url":"https://github.com/pcambra","followers_url":"https://api.github.com/users/pcambra/followers","following_url":"https://api.github.com/users/pcambra/following{/other_user}","gists_url":"https://api.github.com/users/pcambra/gists{/gist_id}","starred_url":"https://api.github.com/users/pcambra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcambra/subscriptions","organizations_url":"https://api.github.com/users/pcambra/orgs","repos_url":"https://api.github.com/users/pcambra/repos","events_url":"https://api.github.com/users/pcambra/events{/privacy}","received_events_url":"https://api.github.com/users/pcambra/received_events","type":"User","site_admin":false},"body":"If you're not using moment.js, let's not include it","created_at":"2015-11-24T09:11:07Z","updated_at":"2015-11-24T09:11:07Z","html_url":"https://github.com/humanitarianresponse/site/pull/178#discussion_r45710417","pull_request_url":"https://api.github.com/repos/humanitarianresponse/site/pulls/178","_links":{"self":{"href":"https://api.github.com/repos/humanitarianresponse/site/pulls/comments/45710417"},"html":{"href":"https://github.com/humanitarianresponse/site/pull/178#discussion_r45710417"},"pull_request":{"href":"https://api.github.com/repos/humanitarianresponse/site/pulls/178"}}},"pull_request":{"url":"https://api.github.com/repos/humanitarianresponse/site/pulls/178","id":49800466,"html_url":"https://github.com/humanitarianresponse/site/pull/178","diff_url":"https://github.com/humanitarianresponse/site/pull/178.diff","patch_url":"https://github.com/humanitarianresponse/site/pull/178.patch","issue_url":"https://api.github.com/repos/humanitarianresponse/site/issues/178","number":178,"state":"open","locked":false,"title":"Martin #41 hdx integration","user":{"login":"MartinMaritim","id":3490890,"avatar_url":"https://avatars.githubusercontent.com/u/3490890?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinMaritim","html_url":"https://github.com/MartinMaritim","followers_url":"https://api.github.com/users/MartinMaritim/followers","following_url":"https://api.github.com/users/MartinMaritim/following{/other_user}","gists_url":"https://api.github.com/users/MartinMaritim/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinMaritim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinMaritim/subscriptions","organizations_url":"https://api.github.com/users/MartinMaritim/orgs","repos_url":"https://api.github.com/users/MartinMaritim/repos","events_url":"https://api.github.com/users/MartinMaritim/events{/privacy}","received_events_url":"https://api.github.com/users/MartinMaritim/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-05T09:36:34Z","updated_at":"2015-11-24T09:11:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b8a67b0c646c2feb379ae4ad918df4407ad0daf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/humanitarianresponse/site/pulls/178/commits","review_comments_url":"https://api.github.com/repos/humanitarianresponse/site/pulls/178/comments","review_comment_url":"https://api.github.com/repos/humanitarianresponse/site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/humanitarianresponse/site/issues/178/comments","statuses_url":"https://api.github.com/repos/humanitarianresponse/site/statuses/c9c00fd91e38a177a1f58d2f845f0078a55697b8","head":{"label":"humanitarianresponse:martin-#41-hdx-integration","ref":"martin-#41-hdx-integration","sha":"c9c00fd91e38a177a1f58d2f845f0078a55697b8","user":{"login":"humanitarianresponse","id":2563984,"avatar_url":"https://avatars.githubusercontent.com/u/2563984?v=3","gravatar_id":"","url":"https://api.github.com/users/humanitarianresponse","html_url":"https://github.com/humanitarianresponse","followers_url":"https://api.github.com/users/humanitarianresponse/followers","following_url":"https://api.github.com/users/humanitarianresponse/following{/other_user}","gists_url":"https://api.github.com/users/humanitarianresponse/gists{/gist_id}","starred_url":"https://api.github.com/users/humanitarianresponse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humanitarianresponse/subscriptions","organizations_url":"https://api.github.com/users/humanitarianresponse/orgs","repos_url":"https://api.github.com/users/humanitarianresponse/repos","events_url":"https://api.github.com/users/humanitarianresponse/events{/privacy}","received_events_url":"https://api.github.com/users/humanitarianresponse/received_events","type":"Organization","site_admin":false},"repo":{"id":39127839,"name":"site","full_name":"humanitarianresponse/site","owner":{"login":"humanitarianresponse","id":2563984,"avatar_url":"https://avatars.githubusercontent.com/u/2563984?v=3","gravatar_id":"","url":"https://api.github.com/users/humanitarianresponse","html_url":"https://github.com/humanitarianresponse","followers_url":"https://api.github.com/users/humanitarianresponse/followers","following_url":"https://api.github.com/users/humanitarianresponse/following{/other_user}","gists_url":"https://api.github.com/users/humanitarianresponse/gists{/gist_id}","starred_url":"https://api.github.com/users/humanitarianresponse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humanitarianresponse/subscriptions","organizations_url":"https://api.github.com/users/humanitarianresponse/orgs","repos_url":"https://api.github.com/users/humanitarianresponse/repos","events_url":"https://api.github.com/users/humanitarianresponse/events{/privacy}","received_events_url":"https://api.github.com/users/humanitarianresponse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/humanitarianresponse/site","description":"","fork":false,"url":"https://api.github.com/repos/humanitarianresponse/site","forks_url":"https://api.github.com/repos/humanitarianresponse/site/forks","keys_url":"https://api.github.com/repos/humanitarianresponse/site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/humanitarianresponse/site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/humanitarianresponse/site/teams","hooks_url":"https://api.github.com/repos/humanitarianresponse/site/hooks","issue_events_url":"https://api.github.com/repos/humanitarianresponse/site/issues/events{/number}","events_url":"https://api.github.com/repos/humanitarianresponse/site/events","assignees_url":"https://api.github.com/repos/humanitarianresponse/site/assignees{/user}","branches_url":"https://api.github.com/repos/humanitarianresponse/site/branches{/branch}","tags_url":"https://api.github.com/repos/humanitarianresponse/site/tags","blobs_url":"https://api.github.com/repos/humanitarianresponse/site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/humanitarianresponse/site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/humanitarianresponse/site/git/refs{/sha}","trees_url":"https://api.github.com/repos/humanitarianresponse/site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/humanitarianresponse/site/statuses/{sha}","languages_url":"https://api.github.com/repos/humanitarianresponse/site/languages","stargazers_url":"https://api.github.com/repos/humanitarianresponse/site/stargazers","contributors_url":"https://api.github.com/repos/humanitarianresponse/site/contributors","subscribers_url":"https://api.github.com/repos/humanitarianresponse/site/subscribers","subscription_url":"https://api.github.com/repos/humanitarianresponse/site/subscription","commits_url":"https://api.github.com/repos/humanitarianresponse/site/commits{/sha}","git_commits_url":"https://api.github.com/repos/humanitarianresponse/site/git/commits{/sha}","comments_url":"https://api.github.com/repos/humanitarianresponse/site/comments{/number}","issue_comment_url":"https://api.github.com/repos/humanitarianresponse/site/issues/comments{/number}","contents_url":"https://api.github.com/repos/humanitarianresponse/site/contents/{+path}","compare_url":"https://api.github.com/repos/humanitarianresponse/site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/humanitarianresponse/site/merges","archive_url":"https://api.github.com/repos/humanitarianresponse/site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/humanitarianresponse/site/downloads","issues_url":"https://api.github.com/repos/humanitarianresponse/site/issues{/number}","pulls_url":"https://api.github.com/repos/humanitarianresponse/site/pulls{/number}","milestones_url":"https://api.github.com/repos/humanitarianresponse/site/milestones{/number}","notifications_url":"https://api.github.com/repos/humanitarianresponse/site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/humanitarianresponse/site/labels{/name}","releases_url":"https://api.github.com/repos/humanitarianresponse/site/releases{/id}","created_at":"2015-07-15T09:22:04Z","updated_at":"2015-09-21T08:48:34Z","pushed_at":"2015-11-24T08:58:28Z","git_url":"git://github.com/humanitarianresponse/site.git","ssh_url":"git@github.com:humanitarianresponse/site.git","clone_url":"https://github.com/humanitarianresponse/site.git","svn_url":"https://github.com/humanitarianresponse/site","homepage":null,"size":46430,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":70,"forks":1,"open_issues":70,"watchers":3,"default_branch":"dev"}},"base":{"label":"humanitarianresponse:dev","ref":"dev","sha":"c75a059c34a65730b4345a645142143e55a820e9","user":{"login":"humanitarianresponse","id":2563984,"avatar_url":"https://avatars.githubusercontent.com/u/2563984?v=3","gravatar_id":"","url":"https://api.github.com/users/humanitarianresponse","html_url":"https://github.com/humanitarianresponse","followers_url":"https://api.github.com/users/humanitarianresponse/followers","following_url":"https://api.github.com/users/humanitarianresponse/following{/other_user}","gists_url":"https://api.github.com/users/humanitarianresponse/gists{/gist_id}","starred_url":"https://api.github.com/users/humanitarianresponse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humanitarianresponse/subscriptions","organizations_url":"https://api.github.com/users/humanitarianresponse/orgs","repos_url":"https://api.github.com/users/humanitarianresponse/repos","events_url":"https://api.github.com/users/humanitarianresponse/events{/privacy}","received_events_url":"https://api.github.com/users/humanitarianresponse/received_events","type":"Organization","site_admin":false},"repo":{"id":39127839,"name":"site","full_name":"humanitarianresponse/site","owner":{"login":"humanitarianresponse","id":2563984,"avatar_url":"https://avatars.githubusercontent.com/u/2563984?v=3","gravatar_id":"","url":"https://api.github.com/users/humanitarianresponse","html_url":"https://github.com/humanitarianresponse","followers_url":"https://api.github.com/users/humanitarianresponse/followers","following_url":"https://api.github.com/users/humanitarianresponse/following{/other_user}","gists_url":"https://api.github.com/users/humanitarianresponse/gists{/gist_id}","starred_url":"https://api.github.com/users/humanitarianresponse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humanitarianresponse/subscriptions","organizations_url":"https://api.github.com/users/humanitarianresponse/orgs","repos_url":"https://api.github.com/users/humanitarianresponse/repos","events_url":"https://api.github.com/users/humanitarianresponse/events{/privacy}","received_events_url":"https://api.github.com/users/humanitarianresponse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/humanitarianresponse/site","description":"","fork":false,"url":"https://api.github.com/repos/humanitarianresponse/site","forks_url":"https://api.github.com/repos/humanitarianresponse/site/forks","keys_url":"https://api.github.com/repos/humanitarianresponse/site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/humanitarianresponse/site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/humanitarianresponse/site/teams","hooks_url":"https://api.github.com/repos/humanitarianresponse/site/hooks","issue_events_url":"https://api.github.com/repos/humanitarianresponse/site/issues/events{/number}","events_url":"https://api.github.com/repos/humanitarianresponse/site/events","assignees_url":"https://api.github.com/repos/humanitarianresponse/site/assignees{/user}","branches_url":"https://api.github.com/repos/humanitarianresponse/site/branches{/branch}","tags_url":"https://api.github.com/repos/humanitarianresponse/site/tags","blobs_url":"https://api.github.com/repos/humanitarianresponse/site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/humanitarianresponse/site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/humanitarianresponse/site/git/refs{/sha}","trees_url":"https://api.github.com/repos/humanitarianresponse/site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/humanitarianresponse/site/statuses/{sha}","languages_url":"https://api.github.com/repos/humanitarianresponse/site/languages","stargazers_url":"https://api.github.com/repos/humanitarianresponse/site/stargazers","contributors_url":"https://api.github.com/repos/humanitarianresponse/site/contributors","subscribers_url":"https://api.github.com/repos/humanitarianresponse/site/subscribers","subscription_url":"https://api.github.com/repos/humanitarianresponse/site/subscription","commits_url":"https://api.github.com/repos/humanitarianresponse/site/commits{/sha}","git_commits_url":"https://api.github.com/repos/humanitarianresponse/site/git/commits{/sha}","comments_url":"https://api.github.com/repos/humanitarianresponse/site/comments{/number}","issue_comment_url":"https://api.github.com/repos/humanitarianresponse/site/issues/comments{/number}","contents_url":"https://api.github.com/repos/humanitarianresponse/site/contents/{+path}","compare_url":"https://api.github.com/repos/humanitarianresponse/site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/humanitarianresponse/site/merges","archive_url":"https://api.github.com/repos/humanitarianresponse/site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/humanitarianresponse/site/downloads","issues_url":"https://api.github.com/repos/humanitarianresponse/site/issues{/number}","pulls_url":"https://api.github.com/repos/humanitarianresponse/site/pulls{/number}","milestones_url":"https://api.github.com/repos/humanitarianresponse/site/milestones{/number}","notifications_url":"https://api.github.com/repos/humanitarianresponse/site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/humanitarianresponse/site/labels{/name}","releases_url":"https://api.github.com/repos/humanitarianresponse/site/releases{/id}","created_at":"2015-07-15T09:22:04Z","updated_at":"2015-09-21T08:48:34Z","pushed_at":"2015-11-24T08:58:28Z","git_url":"git://github.com/humanitarianresponse/site.git","ssh_url":"git@github.com:humanitarianresponse/site.git","clone_url":"https://github.com/humanitarianresponse/site.git","svn_url":"https://github.com/humanitarianresponse/site","homepage":null,"size":46430,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":70,"forks":1,"open_issues":70,"watchers":3,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/humanitarianresponse/site/pulls/178"},"html":{"href":"https://github.com/humanitarianresponse/site/pull/178"},"issue":{"href":"https://api.github.com/repos/humanitarianresponse/site/issues/178"},"comments":{"href":"https://api.github.com/repos/humanitarianresponse/site/issues/178/comments"},"review_comments":{"href":"https://api.github.com/repos/humanitarianresponse/site/pulls/178/comments"},"review_comment":{"href":"https://api.github.com/repos/humanitarianresponse/site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/humanitarianresponse/site/pulls/178/commits"},"statuses":{"href":"https://api.github.com/repos/humanitarianresponse/site/statuses/c9c00fd91e38a177a1f58d2f845f0078a55697b8"}}}}