{"action":"created","comment":{"url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/pulls/comments/31514478","id":31514478,"diff_hunk":"@@ -2527,19 +2527,19 @@ class Point {\n main() {\n   var a = new Point(2, 2);\n   var b = new Point(4, 4);\n-  var distance = Point.distanceBetween(a, b);\n+  var distance = Point.distanceEntre(a, b);\n   assert(distance < 2.9 && distance > 2.8);\n }\n {% endprettify %}\n \n <aside class=\"alert alert-info\" markdown=\"1\">\n **Note:**\n-Consider using top-level functions, instead of static methods, for\n-common or widely used utilities and functionality.\n+Préférez l'utilisation de méthodes de haut niveau à des méthodes statiques, pour des fonctionnalités \n+communes et largement utilisées.","path":"ch02.markdown","position":85,"original_position":85,"commit_id":"2d6c9d99e8dc289afc92702910db53844f83f84a","original_commit_id":"2d6c9d99e8dc289afc92702910db53844f83f84a","user":{"login":"ggirou","id":739916,"avatar_url":"https://avatars.githubusercontent.com/u/739916?v=3","gravatar_id":"","url":"https://api.github.com/users/ggirou","html_url":"https://github.com/ggirou","followers_url":"https://api.github.com/users/ggirou/followers","following_url":"https://api.github.com/users/ggirou/following{/other_user}","gists_url":"https://api.github.com/users/ggirou/gists{/gist_id}","starred_url":"https://api.github.com/users/ggirou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggirou/subscriptions","organizations_url":"https://api.github.com/users/ggirou/orgs","repos_url":"https://api.github.com/users/ggirou/repos","events_url":"https://api.github.com/users/ggirou/events{/privacy}","received_events_url":"https://api.github.com/users/ggirou/received_events","type":"User","site_admin":false},"body":"communes ou largement utilisées","created_at":"2015-06-02T11:54:12Z","updated_at":"2015-06-02T11:54:12Z","html_url":"https://github.com/dartlangfr/dart-up-and-running/pull/20#discussion_r31514478","pull_request_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/dartlangfr/dart-up-and-running/pulls/comments/31514478"},"html":{"href":"https://github.com/dartlangfr/dart-up-and-running/pull/20#discussion_r31514478"},"pull_request":{"href":"https://api.github.com/repos/dartlangfr/dart-up-and-running/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/pulls/20","id":36650347,"html_url":"https://github.com/dartlangfr/dart-up-and-running/pull/20","diff_url":"https://github.com/dartlangfr/dart-up-and-running/pull/20.diff","patch_url":"https://github.com/dartlangfr/dart-up-and-running/pull/20.patch","issue_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/issues/20","number":20,"state":"open","locked":false,"title":"Class variable and methodes","user":{"login":"nfrancois","id":679033,"avatar_url":"https://avatars.githubusercontent.com/u/679033?v=3","gravatar_id":"","url":"https://api.github.com/users/nfrancois","html_url":"https://github.com/nfrancois","followers_url":"https://api.github.com/users/nfrancois/followers","following_url":"https://api.github.com/users/nfrancois/following{/other_user}","gists_url":"https://api.github.com/users/nfrancois/gists{/gist_id}","starred_url":"https://api.github.com/users/nfrancois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfrancois/subscriptions","organizations_url":"https://api.github.com/users/nfrancois/orgs","repos_url":"https://api.github.com/users/nfrancois/repos","events_url":"https://api.github.com/users/nfrancois/events{/privacy}","received_events_url":"https://api.github.com/users/nfrancois/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-01T17:20:11Z","updated_at":"2015-06-02T11:54:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4839e4eb096ca503563e2cf90eb62cbb94f2adfa","assignee":{"login":"ggirou","id":739916,"avatar_url":"https://avatars.githubusercontent.com/u/739916?v=3","gravatar_id":"","url":"https://api.github.com/users/ggirou","html_url":"https://github.com/ggirou","followers_url":"https://api.github.com/users/ggirou/followers","following_url":"https://api.github.com/users/ggirou/following{/other_user}","gists_url":"https://api.github.com/users/ggirou/gists{/gist_id}","starred_url":"https://api.github.com/users/ggirou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggirou/subscriptions","organizations_url":"https://api.github.com/users/ggirou/orgs","repos_url":"https://api.github.com/users/ggirou/repos","events_url":"https://api.github.com/users/ggirou/events{/privacy}","received_events_url":"https://api.github.com/users/ggirou/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/pulls/20/commits","review_comments_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/pulls/20/comments","review_comment_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/issues/20/comments","statuses_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/statuses/2d6c9d99e8dc289afc92702910db53844f83f84a","head":{"label":"dartlangfr:classVariableAndMethods","ref":"classVariableAndMethods","sha":"2d6c9d99e8dc289afc92702910db53844f83f84a","user":{"login":"dartlangfr","id":2131541,"avatar_url":"https://avatars.githubusercontent.com/u/2131541?v=3","gravatar_id":"","url":"https://api.github.com/users/dartlangfr","html_url":"https://github.com/dartlangfr","followers_url":"https://api.github.com/users/dartlangfr/followers","following_url":"https://api.github.com/users/dartlangfr/following{/other_user}","gists_url":"https://api.github.com/users/dartlangfr/gists{/gist_id}","starred_url":"https://api.github.com/users/dartlangfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dartlangfr/subscriptions","organizations_url":"https://api.github.com/users/dartlangfr/orgs","repos_url":"https://api.github.com/users/dartlangfr/repos","events_url":"https://api.github.com/users/dartlangfr/events{/privacy}","received_events_url":"https://api.github.com/users/dartlangfr/received_events","type":"Organization","site_admin":false},"repo":{"id":27091036,"name":"dart-up-and-running","full_name":"dartlangfr/dart-up-and-running","owner":{"login":"dartlangfr","id":2131541,"avatar_url":"https://avatars.githubusercontent.com/u/2131541?v=3","gravatar_id":"","url":"https://api.github.com/users/dartlangfr","html_url":"https://github.com/dartlangfr","followers_url":"https://api.github.com/users/dartlangfr/followers","following_url":"https://api.github.com/users/dartlangfr/following{/other_user}","gists_url":"https://api.github.com/users/dartlangfr/gists{/gist_id}","starred_url":"https://api.github.com/users/dartlangfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dartlangfr/subscriptions","organizations_url":"https://api.github.com/users/dartlangfr/orgs","repos_url":"https://api.github.com/users/dartlangfr/repos","events_url":"https://api.github.com/users/dartlangfr/events{/privacy}","received_events_url":"https://api.github.com/users/dartlangfr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dartlangfr/dart-up-and-running","description":"","fork":false,"url":"https://api.github.com/repos/dartlangfr/dart-up-and-running","forks_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/forks","keys_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/teams","hooks_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/hooks","issue_events_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/issues/events{/number}","events_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/events","assignees_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/assignees{/user}","branches_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/branches{/branch}","tags_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/tags","blobs_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/git/refs{/sha}","trees_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/statuses/{sha}","languages_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/languages","stargazers_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/stargazers","contributors_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/contributors","subscribers_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/subscribers","subscription_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/subscription","commits_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/commits{/sha}","git_commits_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/git/commits{/sha}","comments_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/comments{/number}","issue_comment_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/issues/comments{/number}","contents_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/contents/{+path}","compare_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/merges","archive_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/downloads","issues_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/issues{/number}","pulls_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/pulls{/number}","milestones_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/milestones{/number}","notifications_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/labels{/name}","releases_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/releases{/id}","created_at":"2014-11-24T19:22:21Z","updated_at":"2014-11-24T19:22:21Z","pushed_at":"2015-06-01T17:20:11Z","git_url":"git://github.com/dartlangfr/dart-up-and-running.git","ssh_url":"git@github.com:dartlangfr/dart-up-and-running.git","clone_url":"https://github.com/dartlangfr/dart-up-and-running.git","svn_url":"https://github.com/dartlangfr/dart-up-and-running","homepage":null,"size":1700,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"dartlangfr:master","ref":"master","sha":"0f5a13ca9d34ce3d88989f340792ab7b85e0c9a6","user":{"login":"dartlangfr","id":2131541,"avatar_url":"https://avatars.githubusercontent.com/u/2131541?v=3","gravatar_id":"","url":"https://api.github.com/users/dartlangfr","html_url":"https://github.com/dartlangfr","followers_url":"https://api.github.com/users/dartlangfr/followers","following_url":"https://api.github.com/users/dartlangfr/following{/other_user}","gists_url":"https://api.github.com/users/dartlangfr/gists{/gist_id}","starred_url":"https://api.github.com/users/dartlangfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dartlangfr/subscriptions","organizations_url":"https://api.github.com/users/dartlangfr/orgs","repos_url":"https://api.github.com/users/dartlangfr/repos","events_url":"https://api.github.com/users/dartlangfr/events{/privacy}","received_events_url":"https://api.github.com/users/dartlangfr/received_events","type":"Organization","site_admin":false},"repo":{"id":27091036,"name":"dart-up-and-running","full_name":"dartlangfr/dart-up-and-running","owner":{"login":"dartlangfr","id":2131541,"avatar_url":"https://avatars.githubusercontent.com/u/2131541?v=3","gravatar_id":"","url":"https://api.github.com/users/dartlangfr","html_url":"https://github.com/dartlangfr","followers_url":"https://api.github.com/users/dartlangfr/followers","following_url":"https://api.github.com/users/dartlangfr/following{/other_user}","gists_url":"https://api.github.com/users/dartlangfr/gists{/gist_id}","starred_url":"https://api.github.com/users/dartlangfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dartlangfr/subscriptions","organizations_url":"https://api.github.com/users/dartlangfr/orgs","repos_url":"https://api.github.com/users/dartlangfr/repos","events_url":"https://api.github.com/users/dartlangfr/events{/privacy}","received_events_url":"https://api.github.com/users/dartlangfr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dartlangfr/dart-up-and-running","description":"","fork":false,"url":"https://api.github.com/repos/dartlangfr/dart-up-and-running","forks_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/forks","keys_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/teams","hooks_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/hooks","issue_events_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/issues/events{/number}","events_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/events","assignees_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/assignees{/user}","branches_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/branches{/branch}","tags_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/tags","blobs_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/git/refs{/sha}","trees_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/statuses/{sha}","languages_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/languages","stargazers_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/stargazers","contributors_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/contributors","subscribers_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/subscribers","subscription_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/subscription","commits_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/commits{/sha}","git_commits_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/git/commits{/sha}","comments_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/comments{/number}","issue_comment_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/issues/comments{/number}","contents_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/contents/{+path}","compare_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/merges","archive_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/downloads","issues_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/issues{/number}","pulls_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/pulls{/number}","milestones_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/milestones{/number}","notifications_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/labels{/name}","releases_url":"https://api.github.com/repos/dartlangfr/dart-up-and-running/releases{/id}","created_at":"2014-11-24T19:22:21Z","updated_at":"2014-11-24T19:22:21Z","pushed_at":"2015-06-01T17:20:11Z","git_url":"git://github.com/dartlangfr/dart-up-and-running.git","ssh_url":"git@github.com:dartlangfr/dart-up-and-running.git","clone_url":"https://github.com/dartlangfr/dart-up-and-running.git","svn_url":"https://github.com/dartlangfr/dart-up-and-running","homepage":null,"size":1700,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dartlangfr/dart-up-and-running/pulls/20"},"html":{"href":"https://github.com/dartlangfr/dart-up-and-running/pull/20"},"issue":{"href":"https://api.github.com/repos/dartlangfr/dart-up-and-running/issues/20"},"comments":{"href":"https://api.github.com/repos/dartlangfr/dart-up-and-running/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/dartlangfr/dart-up-and-running/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/dartlangfr/dart-up-and-running/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dartlangfr/dart-up-and-running/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/dartlangfr/dart-up-and-running/statuses/2d6c9d99e8dc289afc92702910db53844f83f84a"}}}}