{"action":"created","comment":{"url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/pulls/comments/41504280","id":41504280,"diff_hunk":"@@ -0,0 +1,37 @@\n+export class Controller {\n+\n+  constructor(stores, events) {\n+    this.dataStore = stores.store;\n+    this.events = events;\n+\n+    this.events.on('action:create', this.onCreate.bind(this));\n+    this.events.on('action:update', this.onUpdate.bind(this));\n+    this.events.on('action:delete', this.onDelete.bind(this));\n+    this.events.on('action:sync', this.onSync.bind(this));\n+  }\n+\n+  start() {\n+    console.log('Start');","path":"scripts/controller.js","position":14,"original_position":14,"commit_id":"57005dfd99a70f06e7dbadcda385105fb8e6d82a","original_commit_id":"57005dfd99a70f06e7dbadcda385105fb8e6d82a","user":{"login":"n1k0","id":41547,"avatar_url":"https://avatars.githubusercontent.com/u/41547?v=3","gravatar_id":"","url":"https://api.github.com/users/n1k0","html_url":"https://github.com/n1k0","followers_url":"https://api.github.com/users/n1k0/followers","following_url":"https://api.github.com/users/n1k0/following{/other_user}","gists_url":"https://api.github.com/users/n1k0/gists{/gist_id}","starred_url":"https://api.github.com/users/n1k0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n1k0/subscriptions","organizations_url":"https://api.github.com/users/n1k0/orgs","repos_url":"https://api.github.com/users/n1k0/repos","events_url":"https://api.github.com/users/n1k0/events{/privacy}","received_events_url":"https://api.github.com/users/n1k0/received_events","type":"User","site_admin":false},"body":"Nit: :)","created_at":"2015-10-08T12:02:11Z","updated_at":"2015-10-08T12:02:11Z","html_url":"https://github.com/Kinto/kinto-react-boilerplate/pull/9#discussion_r41504280","pull_request_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/pulls/comments/41504280"},"html":{"href":"https://github.com/Kinto/kinto-react-boilerplate/pull/9#discussion_r41504280"},"pull_request":{"href":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/pulls/9","id":42006655,"html_url":"https://github.com/Kinto/kinto-react-boilerplate/pull/9","diff_url":"https://github.com/Kinto/kinto-react-boilerplate/pull/9.diff","patch_url":"https://github.com/Kinto/kinto-react-boilerplate/pull/9.patch","issue_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/issues/9","number":9,"state":"open","locked":false,"title":"[do-not-merge] Edit in place for list items","user":{"login":"leplatrem","id":546692,"avatar_url":"https://avatars.githubusercontent.com/u/546692?v=3","gravatar_id":"","url":"https://api.github.com/users/leplatrem","html_url":"https://github.com/leplatrem","followers_url":"https://api.github.com/users/leplatrem/followers","following_url":"https://api.github.com/users/leplatrem/following{/other_user}","gists_url":"https://api.github.com/users/leplatrem/gists{/gist_id}","starred_url":"https://api.github.com/users/leplatrem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leplatrem/subscriptions","organizations_url":"https://api.github.com/users/leplatrem/orgs","repos_url":"https://api.github.com/users/leplatrem/repos","events_url":"https://api.github.com/users/leplatrem/events{/privacy}","received_events_url":"https://api.github.com/users/leplatrem/received_events","type":"User","site_admin":false},"body":"This PR could serve as a tutorial (or base branch) to add «edit in place» for the list.\r\n\r\nThis PR could remain open, regularly rebased. And developers could comment or ask questions. This would allow to keep the master boilerplate minimalistic, while providing well known use-cases.\r\n\r\nThoughts ?","created_at":"2015-08-10T10:36:44Z","updated_at":"2015-10-08T12:02:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2680d98e1c00e93dfc19e03011b12580718a0865","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/pulls/9/commits","review_comments_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/pulls/9/comments","review_comment_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/issues/9/comments","statuses_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/statuses/57005dfd99a70f06e7dbadcda385105fb8e6d82a","head":{"label":"Kinto:edit-in-place","ref":"edit-in-place","sha":"57005dfd99a70f06e7dbadcda385105fb8e6d82a","user":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"repo":{"id":39893629,"name":"kinto-react-boilerplate","full_name":"Kinto/kinto-react-boilerplate","owner":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kinto/kinto-react-boilerplate","description":"A Kinto.js+React project boilerplate.","fork":false,"url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate","forks_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/forks","keys_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/teams","hooks_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/hooks","issue_events_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/issues/events{/number}","events_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/events","assignees_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/assignees{/user}","branches_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/branches{/branch}","tags_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/tags","blobs_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/statuses/{sha}","languages_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/languages","stargazers_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/stargazers","contributors_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/contributors","subscribers_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/subscribers","subscription_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/subscription","commits_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/contents/{+path}","compare_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/merges","archive_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/downloads","issues_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/issues{/number}","pulls_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/pulls{/number}","milestones_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/milestones{/number}","notifications_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/labels{/name}","releases_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/releases{/id}","created_at":"2015-07-29T13:03:51Z","updated_at":"2015-09-30T13:06:38Z","pushed_at":"2015-10-08T11:24:37Z","git_url":"git://github.com/Kinto/kinto-react-boilerplate.git","ssh_url":"git@github.com:Kinto/kinto-react-boilerplate.git","clone_url":"https://github.com/Kinto/kinto-react-boilerplate.git","svn_url":"https://github.com/Kinto/kinto-react-boilerplate","homepage":"","size":412,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":4,"default_branch":"master"}},"base":{"label":"Kinto:master","ref":"master","sha":"c44eb4e6bce9e52f419ab032cded2d4418ed65fe","user":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"repo":{"id":39893629,"name":"kinto-react-boilerplate","full_name":"Kinto/kinto-react-boilerplate","owner":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kinto/kinto-react-boilerplate","description":"A Kinto.js+React project boilerplate.","fork":false,"url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate","forks_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/forks","keys_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/teams","hooks_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/hooks","issue_events_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/issues/events{/number}","events_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/events","assignees_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/assignees{/user}","branches_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/branches{/branch}","tags_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/tags","blobs_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/statuses/{sha}","languages_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/languages","stargazers_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/stargazers","contributors_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/contributors","subscribers_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/subscribers","subscription_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/subscription","commits_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/contents/{+path}","compare_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/merges","archive_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/downloads","issues_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/issues{/number}","pulls_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/pulls{/number}","milestones_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/milestones{/number}","notifications_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/labels{/name}","releases_url":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/releases{/id}","created_at":"2015-07-29T13:03:51Z","updated_at":"2015-09-30T13:06:38Z","pushed_at":"2015-10-08T11:24:37Z","git_url":"git://github.com/Kinto/kinto-react-boilerplate.git","ssh_url":"git@github.com:Kinto/kinto-react-boilerplate.git","clone_url":"https://github.com/Kinto/kinto-react-boilerplate.git","svn_url":"https://github.com/Kinto/kinto-react-boilerplate","homepage":"","size":412,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/pulls/9"},"html":{"href":"https://github.com/Kinto/kinto-react-boilerplate/pull/9"},"issue":{"href":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/issues/9"},"comments":{"href":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/Kinto/kinto-react-boilerplate/statuses/57005dfd99a70f06e7dbadcda385105fb8e6d82a"}}}}