{"action":"created","comment":{"url":"https://api.github.com/repos/jsilvestre/partenariat-42/pulls/comments/44671622","id":44671622,"diff_hunk":"@@ -0,0 +1,173 @@\n+var CountEditionBase = require('./count_edition_base');\n+var BaseView = require('../../lib/base_view');\n+var app = require('../../application');\n+\n+var colorSet = require('../../helper/color_set');\n+\n+/*\n+ * View wiche manage the editing for an update or a creation of a view\n+ * I make the both in the same class because it's exactly the same data to","path":"client/app/private/views/countEditor/count_creation_view.js","position":9,"original_position":9,"commit_id":"4d9bf41ff2fbea77e9c4a465bb0fcd6d5446e400","original_commit_id":"4d9bf41ff2fbea77e9c4a465bb0fcd6d5446e400","user":{"login":"jsilvestre","id":568111,"avatar_url":"https://avatars.githubusercontent.com/u/568111?v=3","gravatar_id":"","url":"https://api.github.com/users/jsilvestre","html_url":"https://github.com/jsilvestre","followers_url":"https://api.github.com/users/jsilvestre/followers","following_url":"https://api.github.com/users/jsilvestre/following{/other_user}","gists_url":"https://api.github.com/users/jsilvestre/gists{/gist_id}","starred_url":"https://api.github.com/users/jsilvestre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsilvestre/subscriptions","organizations_url":"https://api.github.com/users/jsilvestre/orgs","repos_url":"https://api.github.com/users/jsilvestre/repos","events_url":"https://api.github.com/users/jsilvestre/events{/privacy}","received_events_url":"https://api.github.com/users/jsilvestre/received_events","type":"User","site_admin":false},"body":"\"Both are made in the same class because they manage exactly the same data\"","created_at":"2015-11-12T15:40:04Z","updated_at":"2015-11-12T15:40:04Z","html_url":"https://github.com/jsilvestre/partenariat-42/pull/1#discussion_r44671622","pull_request_url":"https://api.github.com/repos/jsilvestre/partenariat-42/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/jsilvestre/partenariat-42/pulls/comments/44671622"},"html":{"href":"https://github.com/jsilvestre/partenariat-42/pull/1#discussion_r44671622"},"pull_request":{"href":"https://api.github.com/repos/jsilvestre/partenariat-42/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/jsilvestre/partenariat-42/pulls/1","id":50518131,"html_url":"https://github.com/jsilvestre/partenariat-42/pull/1","diff_url":"https://github.com/jsilvestre/partenariat-42/pull/1.diff","patch_url":"https://github.com/jsilvestre/partenariat-42/pull/1.patch","issue_url":"https://api.github.com/repos/jsilvestre/partenariat-42/issues/1","number":1,"state":"open","locked":false,"title":"PR to review code","user":{"login":"jsilvestre","id":568111,"avatar_url":"https://avatars.githubusercontent.com/u/568111?v=3","gravatar_id":"","url":"https://api.github.com/users/jsilvestre","html_url":"https://github.com/jsilvestre","followers_url":"https://api.github.com/users/jsilvestre/followers","following_url":"https://api.github.com/users/jsilvestre/following{/other_user}","gists_url":"https://api.github.com/users/jsilvestre/gists{/gist_id}","starred_url":"https://api.github.com/users/jsilvestre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsilvestre/subscriptions","organizations_url":"https://api.github.com/users/jsilvestre/orgs","repos_url":"https://api.github.com/users/jsilvestre/repos","events_url":"https://api.github.com/users/jsilvestre/events{/privacy}","received_events_url":"https://api.github.com/users/jsilvestre/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-12T14:40:28Z","updated_at":"2015-11-12T15:40:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"15fc534aed7bc6a1530cb01eb89aeef4da17c355","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jsilvestre/partenariat-42/pulls/1/commits","review_comments_url":"https://api.github.com/repos/jsilvestre/partenariat-42/pulls/1/comments","review_comment_url":"https://api.github.com/repos/jsilvestre/partenariat-42/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jsilvestre/partenariat-42/issues/1/comments","statuses_url":"https://api.github.com/repos/jsilvestre/partenariat-42/statuses/4d9bf41ff2fbea77e9c4a465bb0fcd6d5446e400","head":{"label":"jsilvestre:development","ref":"development","sha":"4d9bf41ff2fbea77e9c4a465bb0fcd6d5446e400","user":{"login":"jsilvestre","id":568111,"avatar_url":"https://avatars.githubusercontent.com/u/568111?v=3","gravatar_id":"","url":"https://api.github.com/users/jsilvestre","html_url":"https://github.com/jsilvestre","followers_url":"https://api.github.com/users/jsilvestre/followers","following_url":"https://api.github.com/users/jsilvestre/following{/other_user}","gists_url":"https://api.github.com/users/jsilvestre/gists{/gist_id}","starred_url":"https://api.github.com/users/jsilvestre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsilvestre/subscriptions","organizations_url":"https://api.github.com/users/jsilvestre/orgs","repos_url":"https://api.github.com/users/jsilvestre/repos","events_url":"https://api.github.com/users/jsilvestre/events{/privacy}","received_events_url":"https://api.github.com/users/jsilvestre/received_events","type":"User","site_admin":false},"repo":{"id":46058770,"name":"partenariat-42","full_name":"jsilvestre/partenariat-42","owner":{"login":"jsilvestre","id":568111,"avatar_url":"https://avatars.githubusercontent.com/u/568111?v=3","gravatar_id":"","url":"https://api.github.com/users/jsilvestre","html_url":"https://github.com/jsilvestre","followers_url":"https://api.github.com/users/jsilvestre/followers","following_url":"https://api.github.com/users/jsilvestre/following{/other_user}","gists_url":"https://api.github.com/users/jsilvestre/gists{/gist_id}","starred_url":"https://api.github.com/users/jsilvestre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsilvestre/subscriptions","organizations_url":"https://api.github.com/users/jsilvestre/orgs","repos_url":"https://api.github.com/users/jsilvestre/repos","events_url":"https://api.github.com/users/jsilvestre/events{/privacy}","received_events_url":"https://api.github.com/users/jsilvestre/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jsilvestre/partenariat-42","description":"","fork":true,"url":"https://api.github.com/repos/jsilvestre/partenariat-42","forks_url":"https://api.github.com/repos/jsilvestre/partenariat-42/forks","keys_url":"https://api.github.com/repos/jsilvestre/partenariat-42/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jsilvestre/partenariat-42/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jsilvestre/partenariat-42/teams","hooks_url":"https://api.github.com/repos/jsilvestre/partenariat-42/hooks","issue_events_url":"https://api.github.com/repos/jsilvestre/partenariat-42/issues/events{/number}","events_url":"https://api.github.com/repos/jsilvestre/partenariat-42/events","assignees_url":"https://api.github.com/repos/jsilvestre/partenariat-42/assignees{/user}","branches_url":"https://api.github.com/repos/jsilvestre/partenariat-42/branches{/branch}","tags_url":"https://api.github.com/repos/jsilvestre/partenariat-42/tags","blobs_url":"https://api.github.com/repos/jsilvestre/partenariat-42/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jsilvestre/partenariat-42/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jsilvestre/partenariat-42/git/refs{/sha}","trees_url":"https://api.github.com/repos/jsilvestre/partenariat-42/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jsilvestre/partenariat-42/statuses/{sha}","languages_url":"https://api.github.com/repos/jsilvestre/partenariat-42/languages","stargazers_url":"https://api.github.com/repos/jsilvestre/partenariat-42/stargazers","contributors_url":"https://api.github.com/repos/jsilvestre/partenariat-42/contributors","subscribers_url":"https://api.github.com/repos/jsilvestre/partenariat-42/subscribers","subscription_url":"https://api.github.com/repos/jsilvestre/partenariat-42/subscription","commits_url":"https://api.github.com/repos/jsilvestre/partenariat-42/commits{/sha}","git_commits_url":"https://api.github.com/repos/jsilvestre/partenariat-42/git/commits{/sha}","comments_url":"https://api.github.com/repos/jsilvestre/partenariat-42/comments{/number}","issue_comment_url":"https://api.github.com/repos/jsilvestre/partenariat-42/issues/comments{/number}","contents_url":"https://api.github.com/repos/jsilvestre/partenariat-42/contents/{+path}","compare_url":"https://api.github.com/repos/jsilvestre/partenariat-42/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jsilvestre/partenariat-42/merges","archive_url":"https://api.github.com/repos/jsilvestre/partenariat-42/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jsilvestre/partenariat-42/downloads","issues_url":"https://api.github.com/repos/jsilvestre/partenariat-42/issues{/number}","pulls_url":"https://api.github.com/repos/jsilvestre/partenariat-42/pulls{/number}","milestones_url":"https://api.github.com/repos/jsilvestre/partenariat-42/milestones{/number}","notifications_url":"https://api.github.com/repos/jsilvestre/partenariat-42/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jsilvestre/partenariat-42/labels{/name}","releases_url":"https://api.github.com/repos/jsilvestre/partenariat-42/releases{/id}","created_at":"2015-11-12T14:38:24Z","updated_at":"2015-11-12T14:38:25Z","pushed_at":"2015-11-12T14:40:29Z","git_url":"git://github.com/jsilvestre/partenariat-42.git","ssh_url":"git@github.com:jsilvestre/partenariat-42.git","clone_url":"https://github.com/jsilvestre/partenariat-42.git","svn_url":"https://github.com/jsilvestre/partenariat-42","homepage":null,"size":4176,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"jsilvestre:master","ref":"master","sha":"8f22fddbf9e9dc1afc6cc58b0b5fcaa7f7a9f0b1","user":{"login":"jsilvestre","id":568111,"avatar_url":"https://avatars.githubusercontent.com/u/568111?v=3","gravatar_id":"","url":"https://api.github.com/users/jsilvestre","html_url":"https://github.com/jsilvestre","followers_url":"https://api.github.com/users/jsilvestre/followers","following_url":"https://api.github.com/users/jsilvestre/following{/other_user}","gists_url":"https://api.github.com/users/jsilvestre/gists{/gist_id}","starred_url":"https://api.github.com/users/jsilvestre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsilvestre/subscriptions","organizations_url":"https://api.github.com/users/jsilvestre/orgs","repos_url":"https://api.github.com/users/jsilvestre/repos","events_url":"https://api.github.com/users/jsilvestre/events{/privacy}","received_events_url":"https://api.github.com/users/jsilvestre/received_events","type":"User","site_admin":false},"repo":{"id":46058770,"name":"partenariat-42","full_name":"jsilvestre/partenariat-42","owner":{"login":"jsilvestre","id":568111,"avatar_url":"https://avatars.githubusercontent.com/u/568111?v=3","gravatar_id":"","url":"https://api.github.com/users/jsilvestre","html_url":"https://github.com/jsilvestre","followers_url":"https://api.github.com/users/jsilvestre/followers","following_url":"https://api.github.com/users/jsilvestre/following{/other_user}","gists_url":"https://api.github.com/users/jsilvestre/gists{/gist_id}","starred_url":"https://api.github.com/users/jsilvestre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsilvestre/subscriptions","organizations_url":"https://api.github.com/users/jsilvestre/orgs","repos_url":"https://api.github.com/users/jsilvestre/repos","events_url":"https://api.github.com/users/jsilvestre/events{/privacy}","received_events_url":"https://api.github.com/users/jsilvestre/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jsilvestre/partenariat-42","description":"","fork":true,"url":"https://api.github.com/repos/jsilvestre/partenariat-42","forks_url":"https://api.github.com/repos/jsilvestre/partenariat-42/forks","keys_url":"https://api.github.com/repos/jsilvestre/partenariat-42/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jsilvestre/partenariat-42/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jsilvestre/partenariat-42/teams","hooks_url":"https://api.github.com/repos/jsilvestre/partenariat-42/hooks","issue_events_url":"https://api.github.com/repos/jsilvestre/partenariat-42/issues/events{/number}","events_url":"https://api.github.com/repos/jsilvestre/partenariat-42/events","assignees_url":"https://api.github.com/repos/jsilvestre/partenariat-42/assignees{/user}","branches_url":"https://api.github.com/repos/jsilvestre/partenariat-42/branches{/branch}","tags_url":"https://api.github.com/repos/jsilvestre/partenariat-42/tags","blobs_url":"https://api.github.com/repos/jsilvestre/partenariat-42/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jsilvestre/partenariat-42/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jsilvestre/partenariat-42/git/refs{/sha}","trees_url":"https://api.github.com/repos/jsilvestre/partenariat-42/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jsilvestre/partenariat-42/statuses/{sha}","languages_url":"https://api.github.com/repos/jsilvestre/partenariat-42/languages","stargazers_url":"https://api.github.com/repos/jsilvestre/partenariat-42/stargazers","contributors_url":"https://api.github.com/repos/jsilvestre/partenariat-42/contributors","subscribers_url":"https://api.github.com/repos/jsilvestre/partenariat-42/subscribers","subscription_url":"https://api.github.com/repos/jsilvestre/partenariat-42/subscription","commits_url":"https://api.github.com/repos/jsilvestre/partenariat-42/commits{/sha}","git_commits_url":"https://api.github.com/repos/jsilvestre/partenariat-42/git/commits{/sha}","comments_url":"https://api.github.com/repos/jsilvestre/partenariat-42/comments{/number}","issue_comment_url":"https://api.github.com/repos/jsilvestre/partenariat-42/issues/comments{/number}","contents_url":"https://api.github.com/repos/jsilvestre/partenariat-42/contents/{+path}","compare_url":"https://api.github.com/repos/jsilvestre/partenariat-42/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jsilvestre/partenariat-42/merges","archive_url":"https://api.github.com/repos/jsilvestre/partenariat-42/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jsilvestre/partenariat-42/downloads","issues_url":"https://api.github.com/repos/jsilvestre/partenariat-42/issues{/number}","pulls_url":"https://api.github.com/repos/jsilvestre/partenariat-42/pulls{/number}","milestones_url":"https://api.github.com/repos/jsilvestre/partenariat-42/milestones{/number}","notifications_url":"https://api.github.com/repos/jsilvestre/partenariat-42/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jsilvestre/partenariat-42/labels{/name}","releases_url":"https://api.github.com/repos/jsilvestre/partenariat-42/releases{/id}","created_at":"2015-11-12T14:38:24Z","updated_at":"2015-11-12T14:38:25Z","pushed_at":"2015-11-12T14:40:29Z","git_url":"git://github.com/jsilvestre/partenariat-42.git","ssh_url":"git@github.com:jsilvestre/partenariat-42.git","clone_url":"https://github.com/jsilvestre/partenariat-42.git","svn_url":"https://github.com/jsilvestre/partenariat-42","homepage":null,"size":4176,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jsilvestre/partenariat-42/pulls/1"},"html":{"href":"https://github.com/jsilvestre/partenariat-42/pull/1"},"issue":{"href":"https://api.github.com/repos/jsilvestre/partenariat-42/issues/1"},"comments":{"href":"https://api.github.com/repos/jsilvestre/partenariat-42/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/jsilvestre/partenariat-42/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/jsilvestre/partenariat-42/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jsilvestre/partenariat-42/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/jsilvestre/partenariat-42/statuses/4d9bf41ff2fbea77e9c4a465bb0fcd6d5446e400"}}}}