{"action":"created","comment":{"url":"https://api.github.com/repos/etalab/transport-site/pulls/comments/141101988","pull_request_review_id":65268128,"id":141101988,"diff_hunk":"@@ -1,6 +1,7 @@\n+import { addMap } from './map'","path":"client/javascripts/components/map/map.tag","position":1,"original_position":1,"commit_id":"1fd94de3d9332678813018e4d820da09ea711c27","original_commit_id":"1fd94de3d9332678813018e4d820da09ea711c27","user":{"login":"maukoquiroga","id":329236,"avatar_url":"https://avatars2.githubusercontent.com/u/329236?v=4","gravatar_id":"","url":"https://api.github.com/users/maukoquiroga","html_url":"https://github.com/maukoquiroga","followers_url":"https://api.github.com/users/maukoquiroga/followers","following_url":"https://api.github.com/users/maukoquiroga/following{/other_user}","gists_url":"https://api.github.com/users/maukoquiroga/gists{/gist_id}","starred_url":"https://api.github.com/users/maukoquiroga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maukoquiroga/subscriptions","organizations_url":"https://api.github.com/users/maukoquiroga/orgs","repos_url":"https://api.github.com/users/maukoquiroga/repos","events_url":"https://api.github.com/users/maukoquiroga/events{/privacy}","received_events_url":"https://api.github.com/users/maukoquiroga/received_events","type":"User","site_admin":false},"body":"In ES6 you can export several functions, that you can import either with `*` or with `{}`.\r\n\r\n`import addMap` won't work as there is no `default` export in `'map'`.\r\n\r\nCheck [this](https://hackernoon.com/import-export-default-require-commandjs-javascript-nodejs-es6-vs-cheatsheet-different-tutorial-example-5a321738b50f)","created_at":"2017-09-26T15:57:38Z","updated_at":"2017-09-26T15:57:39Z","html_url":"https://github.com/etalab/transport-site/pull/53#discussion_r141101988","pull_request_url":"https://api.github.com/repos/etalab/transport-site/pulls/53","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/etalab/transport-site/pulls/comments/141101988"},"html":{"href":"https://github.com/etalab/transport-site/pull/53#discussion_r141101988"},"pull_request":{"href":"https://api.github.com/repos/etalab/transport-site/pulls/53"}},"in_reply_to_id":141092087},"pull_request":{"url":"https://api.github.com/repos/etalab/transport-site/pulls/53","id":143139610,"html_url":"https://github.com/etalab/transport-site/pull/53","diff_url":"https://github.com/etalab/transport-site/pull/53.diff","patch_url":"https://github.com/etalab/transport-site/pull/53.patch","issue_url":"https://api.github.com/repos/etalab/transport-site/issues/53","number":53,"state":"open","locked":false,"title":"Move import to top of tag file","user":{"login":"maukoquiroga","id":329236,"avatar_url":"https://avatars2.githubusercontent.com/u/329236?v=4","gravatar_id":"","url":"https://api.github.com/users/maukoquiroga","html_url":"https://github.com/maukoquiroga","followers_url":"https://api.github.com/users/maukoquiroga/followers","following_url":"https://api.github.com/users/maukoquiroga/following{/other_user}","gists_url":"https://api.github.com/users/maukoquiroga/gists{/gist_id}","starred_url":"https://api.github.com/users/maukoquiroga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maukoquiroga/subscriptions","organizations_url":"https://api.github.com/users/maukoquiroga/orgs","repos_url":"https://api.github.com/users/maukoquiroga/repos","events_url":"https://api.github.com/users/maukoquiroga/events{/privacy}","received_events_url":"https://api.github.com/users/maukoquiroga/received_events","type":"User","site_admin":false},"body":"To add consistency with the rest of components.","created_at":"2017-09-26T13:47:53Z","updated_at":"2017-09-26T15:57:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de20811b51801c2d81cc2772eafe3b1f945474a0","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/etalab/transport-site/pulls/53/commits","review_comments_url":"https://api.github.com/repos/etalab/transport-site/pulls/53/comments","review_comment_url":"https://api.github.com/repos/etalab/transport-site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/etalab/transport-site/issues/53/comments","statuses_url":"https://api.github.com/repos/etalab/transport-site/statuses/1fd94de3d9332678813018e4d820da09ea711c27","head":{"label":"etalab:context-scope-map","ref":"context-scope-map","sha":"1fd94de3d9332678813018e4d820da09ea711c27","user":{"login":"etalab","id":5313610,"avatar_url":"https://avatars1.githubusercontent.com/u/5313610?v=4","gravatar_id":"","url":"https://api.github.com/users/etalab","html_url":"https://github.com/etalab","followers_url":"https://api.github.com/users/etalab/followers","following_url":"https://api.github.com/users/etalab/following{/other_user}","gists_url":"https://api.github.com/users/etalab/gists{/gist_id}","starred_url":"https://api.github.com/users/etalab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etalab/subscriptions","organizations_url":"https://api.github.com/users/etalab/orgs","repos_url":"https://api.github.com/users/etalab/repos","events_url":"https://api.github.com/users/etalab/events{/privacy}","received_events_url":"https://api.github.com/users/etalab/received_events","type":"Organization","site_admin":false},"repo":{"id":102018999,"name":"transport-site","full_name":"etalab/transport-site","owner":{"login":"etalab","id":5313610,"avatar_url":"https://avatars1.githubusercontent.com/u/5313610?v=4","gravatar_id":"","url":"https://api.github.com/users/etalab","html_url":"https://github.com/etalab","followers_url":"https://api.github.com/users/etalab/followers","following_url":"https://api.github.com/users/etalab/following{/other_user}","gists_url":"https://api.github.com/users/etalab/gists{/gist_id}","starred_url":"https://api.github.com/users/etalab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etalab/subscriptions","organizations_url":"https://api.github.com/users/etalab/orgs","repos_url":"https://api.github.com/users/etalab/repos","events_url":"https://api.github.com/users/etalab/events{/privacy}","received_events_url":"https://api.github.com/users/etalab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/etalab/transport-site","description":"Rendre disponible, valoriser et améliorer les données transports","fork":false,"url":"https://api.github.com/repos/etalab/transport-site","forks_url":"https://api.github.com/repos/etalab/transport-site/forks","keys_url":"https://api.github.com/repos/etalab/transport-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/etalab/transport-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/etalab/transport-site/teams","hooks_url":"https://api.github.com/repos/etalab/transport-site/hooks","issue_events_url":"https://api.github.com/repos/etalab/transport-site/issues/events{/number}","events_url":"https://api.github.com/repos/etalab/transport-site/events","assignees_url":"https://api.github.com/repos/etalab/transport-site/assignees{/user}","branches_url":"https://api.github.com/repos/etalab/transport-site/branches{/branch}","tags_url":"https://api.github.com/repos/etalab/transport-site/tags","blobs_url":"https://api.github.com/repos/etalab/transport-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/etalab/transport-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/etalab/transport-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/etalab/transport-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/etalab/transport-site/statuses/{sha}","languages_url":"https://api.github.com/repos/etalab/transport-site/languages","stargazers_url":"https://api.github.com/repos/etalab/transport-site/stargazers","contributors_url":"https://api.github.com/repos/etalab/transport-site/contributors","subscribers_url":"https://api.github.com/repos/etalab/transport-site/subscribers","subscription_url":"https://api.github.com/repos/etalab/transport-site/subscription","commits_url":"https://api.github.com/repos/etalab/transport-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/etalab/transport-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/etalab/transport-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/etalab/transport-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/etalab/transport-site/contents/{+path}","compare_url":"https://api.github.com/repos/etalab/transport-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/etalab/transport-site/merges","archive_url":"https://api.github.com/repos/etalab/transport-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/etalab/transport-site/downloads","issues_url":"https://api.github.com/repos/etalab/transport-site/issues{/number}","pulls_url":"https://api.github.com/repos/etalab/transport-site/pulls{/number}","milestones_url":"https://api.github.com/repos/etalab/transport-site/milestones{/number}","notifications_url":"https://api.github.com/repos/etalab/transport-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/etalab/transport-site/labels{/name}","releases_url":"https://api.github.com/repos/etalab/transport-site/releases{/id}","deployments_url":"https://api.github.com/repos/etalab/transport-site/deployments","created_at":"2017-08-31T16:00:09Z","updated_at":"2017-09-21T07:44:41Z","pushed_at":"2017-09-26T15:43:19Z","git_url":"git://github.com/etalab/transport-site.git","ssh_url":"git@github.com:etalab/transport-site.git","clone_url":"https://github.com/etalab/transport-site.git","svn_url":"https://github.com/etalab/transport-site","homepage":"https://transport-beta.herokuapp.com/","size":324,"stargazers_count":2,"watchers_count":2,"language":"Elixir","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":28,"forks":2,"open_issues":28,"watchers":2,"default_branch":"master"}},"base":{"label":"etalab:master","ref":"master","sha":"d05e07d44c9ca2c40480e2d2c3b3e142bc3595f8","user":{"login":"etalab","id":5313610,"avatar_url":"https://avatars1.githubusercontent.com/u/5313610?v=4","gravatar_id":"","url":"https://api.github.com/users/etalab","html_url":"https://github.com/etalab","followers_url":"https://api.github.com/users/etalab/followers","following_url":"https://api.github.com/users/etalab/following{/other_user}","gists_url":"https://api.github.com/users/etalab/gists{/gist_id}","starred_url":"https://api.github.com/users/etalab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etalab/subscriptions","organizations_url":"https://api.github.com/users/etalab/orgs","repos_url":"https://api.github.com/users/etalab/repos","events_url":"https://api.github.com/users/etalab/events{/privacy}","received_events_url":"https://api.github.com/users/etalab/received_events","type":"Organization","site_admin":false},"repo":{"id":102018999,"name":"transport-site","full_name":"etalab/transport-site","owner":{"login":"etalab","id":5313610,"avatar_url":"https://avatars1.githubusercontent.com/u/5313610?v=4","gravatar_id":"","url":"https://api.github.com/users/etalab","html_url":"https://github.com/etalab","followers_url":"https://api.github.com/users/etalab/followers","following_url":"https://api.github.com/users/etalab/following{/other_user}","gists_url":"https://api.github.com/users/etalab/gists{/gist_id}","starred_url":"https://api.github.com/users/etalab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etalab/subscriptions","organizations_url":"https://api.github.com/users/etalab/orgs","repos_url":"https://api.github.com/users/etalab/repos","events_url":"https://api.github.com/users/etalab/events{/privacy}","received_events_url":"https://api.github.com/users/etalab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/etalab/transport-site","description":"Rendre disponible, valoriser et améliorer les données transports","fork":false,"url":"https://api.github.com/repos/etalab/transport-site","forks_url":"https://api.github.com/repos/etalab/transport-site/forks","keys_url":"https://api.github.com/repos/etalab/transport-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/etalab/transport-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/etalab/transport-site/teams","hooks_url":"https://api.github.com/repos/etalab/transport-site/hooks","issue_events_url":"https://api.github.com/repos/etalab/transport-site/issues/events{/number}","events_url":"https://api.github.com/repos/etalab/transport-site/events","assignees_url":"https://api.github.com/repos/etalab/transport-site/assignees{/user}","branches_url":"https://api.github.com/repos/etalab/transport-site/branches{/branch}","tags_url":"https://api.github.com/repos/etalab/transport-site/tags","blobs_url":"https://api.github.com/repos/etalab/transport-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/etalab/transport-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/etalab/transport-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/etalab/transport-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/etalab/transport-site/statuses/{sha}","languages_url":"https://api.github.com/repos/etalab/transport-site/languages","stargazers_url":"https://api.github.com/repos/etalab/transport-site/stargazers","contributors_url":"https://api.github.com/repos/etalab/transport-site/contributors","subscribers_url":"https://api.github.com/repos/etalab/transport-site/subscribers","subscription_url":"https://api.github.com/repos/etalab/transport-site/subscription","commits_url":"https://api.github.com/repos/etalab/transport-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/etalab/transport-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/etalab/transport-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/etalab/transport-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/etalab/transport-site/contents/{+path}","compare_url":"https://api.github.com/repos/etalab/transport-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/etalab/transport-site/merges","archive_url":"https://api.github.com/repos/etalab/transport-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/etalab/transport-site/downloads","issues_url":"https://api.github.com/repos/etalab/transport-site/issues{/number}","pulls_url":"https://api.github.com/repos/etalab/transport-site/pulls{/number}","milestones_url":"https://api.github.com/repos/etalab/transport-site/milestones{/number}","notifications_url":"https://api.github.com/repos/etalab/transport-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/etalab/transport-site/labels{/name}","releases_url":"https://api.github.com/repos/etalab/transport-site/releases{/id}","deployments_url":"https://api.github.com/repos/etalab/transport-site/deployments","created_at":"2017-08-31T16:00:09Z","updated_at":"2017-09-21T07:44:41Z","pushed_at":"2017-09-26T15:43:19Z","git_url":"git://github.com/etalab/transport-site.git","ssh_url":"git@github.com:etalab/transport-site.git","clone_url":"https://github.com/etalab/transport-site.git","svn_url":"https://github.com/etalab/transport-site","homepage":"https://transport-beta.herokuapp.com/","size":324,"stargazers_count":2,"watchers_count":2,"language":"Elixir","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":28,"forks":2,"open_issues":28,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/etalab/transport-site/pulls/53"},"html":{"href":"https://github.com/etalab/transport-site/pull/53"},"issue":{"href":"https://api.github.com/repos/etalab/transport-site/issues/53"},"comments":{"href":"https://api.github.com/repos/etalab/transport-site/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/etalab/transport-site/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/etalab/transport-site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/etalab/transport-site/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/etalab/transport-site/statuses/1fd94de3d9332678813018e4d820da09ea711c27"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"maukoquiroga"}}