{"action":"created","comment":{"url":"https://api.github.com/repos/meteor/meteor/pulls/comments/58330623","id":58330623,"diff_hunk":"@@ -103,7 +103,7 @@ template is rendered for the first time.\n ```\n \n ```javascript\n-Template.myPictures.onRendered(function () {\n+Template.myPictures.onRendered( () => {","path":"docs/client/full-api/api/templates.md","position":23,"original_position":23,"commit_id":"2b22956abe10848accd363fef36ebfe0d1f8a188","original_commit_id":"2b22956abe10848accd363fef36ebfe0d1f8a188","user":{"login":"stubailo","id":448783,"avatar_url":"https://avatars.githubusercontent.com/u/448783?v=3","gravatar_id":"","url":"https://api.github.com/users/stubailo","html_url":"https://github.com/stubailo","followers_url":"https://api.github.com/users/stubailo/followers","following_url":"https://api.github.com/users/stubailo/following{/other_user}","gists_url":"https://api.github.com/users/stubailo/gists{/gist_id}","starred_url":"https://api.github.com/users/stubailo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stubailo/subscriptions","organizations_url":"https://api.github.com/users/stubailo/orgs","repos_url":"https://api.github.com/users/stubailo/repos","events_url":"https://api.github.com/users/stubailo/events{/privacy}","received_events_url":"https://api.github.com/users/stubailo/received_events","type":"User","site_admin":false},"body":"This will not work - you can't replace functions that use `this` with arrow functions. That's a common misconception.","created_at":"2016-04-04T05:57:03Z","updated_at":"2016-04-04T05:57:03Z","html_url":"https://github.com/meteor/meteor/pull/6693#discussion_r58330623","pull_request_url":"https://api.github.com/repos/meteor/meteor/pulls/6693","_links":{"self":{"href":"https://api.github.com/repos/meteor/meteor/pulls/comments/58330623"},"html":{"href":"https://github.com/meteor/meteor/pull/6693#discussion_r58330623"},"pull_request":{"href":"https://api.github.com/repos/meteor/meteor/pulls/6693"}}},"pull_request":{"url":"https://api.github.com/repos/meteor/meteor/pulls/6693","id":65098677,"html_url":"https://github.com/meteor/meteor/pull/6693","diff_url":"https://github.com/meteor/meteor/pull/6693.diff","patch_url":"https://github.com/meteor/meteor/pull/6693.patch","issue_url":"https://api.github.com/repos/meteor/meteor/issues/6693","number":6693,"state":"open","locked":false,"title":"Converted example to use ES6 conventions (fat-arrow functions)","user":{"login":"MichelFloyd","id":7576928,"avatar_url":"https://avatars.githubusercontent.com/u/7576928?v=3","gravatar_id":"","url":"https://api.github.com/users/MichelFloyd","html_url":"https://github.com/MichelFloyd","followers_url":"https://api.github.com/users/MichelFloyd/followers","following_url":"https://api.github.com/users/MichelFloyd/following{/other_user}","gists_url":"https://api.github.com/users/MichelFloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/MichelFloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichelFloyd/subscriptions","organizations_url":"https://api.github.com/users/MichelFloyd/orgs","repos_url":"https://api.github.com/users/MichelFloyd/repos","events_url":"https://api.github.com/users/MichelFloyd/events{/privacy}","received_events_url":"https://api.github.com/users/MichelFloyd/received_events","type":"User","site_admin":false},"body":"Per my conversation with @stubailo - converted examples to use ES6 conventions.","created_at":"2016-04-04T05:50:51Z","updated_at":"2016-04-04T05:57:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e37b01d5e38980c730c24c21c76736cdd7d7c737","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/meteor/meteor/pulls/6693/commits","review_comments_url":"https://api.github.com/repos/meteor/meteor/pulls/6693/comments","review_comment_url":"https://api.github.com/repos/meteor/meteor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/6693/comments","statuses_url":"https://api.github.com/repos/meteor/meteor/statuses/2b22956abe10848accd363fef36ebfe0d1f8a188","head":{"label":"MichelFloyd:devel","ref":"devel","sha":"2b22956abe10848accd363fef36ebfe0d1f8a188","user":{"login":"MichelFloyd","id":7576928,"avatar_url":"https://avatars.githubusercontent.com/u/7576928?v=3","gravatar_id":"","url":"https://api.github.com/users/MichelFloyd","html_url":"https://github.com/MichelFloyd","followers_url":"https://api.github.com/users/MichelFloyd/followers","following_url":"https://api.github.com/users/MichelFloyd/following{/other_user}","gists_url":"https://api.github.com/users/MichelFloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/MichelFloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichelFloyd/subscriptions","organizations_url":"https://api.github.com/users/MichelFloyd/orgs","repos_url":"https://api.github.com/users/MichelFloyd/repos","events_url":"https://api.github.com/users/MichelFloyd/events{/privacy}","received_events_url":"https://api.github.com/users/MichelFloyd/received_events","type":"User","site_admin":false},"repo":{"id":55385104,"name":"meteor","full_name":"MichelFloyd/meteor","owner":{"login":"MichelFloyd","id":7576928,"avatar_url":"https://avatars.githubusercontent.com/u/7576928?v=3","gravatar_id":"","url":"https://api.github.com/users/MichelFloyd","html_url":"https://github.com/MichelFloyd","followers_url":"https://api.github.com/users/MichelFloyd/followers","following_url":"https://api.github.com/users/MichelFloyd/following{/other_user}","gists_url":"https://api.github.com/users/MichelFloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/MichelFloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichelFloyd/subscriptions","organizations_url":"https://api.github.com/users/MichelFloyd/orgs","repos_url":"https://api.github.com/users/MichelFloyd/repos","events_url":"https://api.github.com/users/MichelFloyd/events{/privacy}","received_events_url":"https://api.github.com/users/MichelFloyd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MichelFloyd/meteor","description":"Meteor, the JavaScript App Platform","fork":true,"url":"https://api.github.com/repos/MichelFloyd/meteor","forks_url":"https://api.github.com/repos/MichelFloyd/meteor/forks","keys_url":"https://api.github.com/repos/MichelFloyd/meteor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MichelFloyd/meteor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MichelFloyd/meteor/teams","hooks_url":"https://api.github.com/repos/MichelFloyd/meteor/hooks","issue_events_url":"https://api.github.com/repos/MichelFloyd/meteor/issues/events{/number}","events_url":"https://api.github.com/repos/MichelFloyd/meteor/events","assignees_url":"https://api.github.com/repos/MichelFloyd/meteor/assignees{/user}","branches_url":"https://api.github.com/repos/MichelFloyd/meteor/branches{/branch}","tags_url":"https://api.github.com/repos/MichelFloyd/meteor/tags","blobs_url":"https://api.github.com/repos/MichelFloyd/meteor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MichelFloyd/meteor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MichelFloyd/meteor/git/refs{/sha}","trees_url":"https://api.github.com/repos/MichelFloyd/meteor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MichelFloyd/meteor/statuses/{sha}","languages_url":"https://api.github.com/repos/MichelFloyd/meteor/languages","stargazers_url":"https://api.github.com/repos/MichelFloyd/meteor/stargazers","contributors_url":"https://api.github.com/repos/MichelFloyd/meteor/contributors","subscribers_url":"https://api.github.com/repos/MichelFloyd/meteor/subscribers","subscription_url":"https://api.github.com/repos/MichelFloyd/meteor/subscription","commits_url":"https://api.github.com/repos/MichelFloyd/meteor/commits{/sha}","git_commits_url":"https://api.github.com/repos/MichelFloyd/meteor/git/commits{/sha}","comments_url":"https://api.github.com/repos/MichelFloyd/meteor/comments{/number}","issue_comment_url":"https://api.github.com/repos/MichelFloyd/meteor/issues/comments{/number}","contents_url":"https://api.github.com/repos/MichelFloyd/meteor/contents/{+path}","compare_url":"https://api.github.com/repos/MichelFloyd/meteor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MichelFloyd/meteor/merges","archive_url":"https://api.github.com/repos/MichelFloyd/meteor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MichelFloyd/meteor/downloads","issues_url":"https://api.github.com/repos/MichelFloyd/meteor/issues{/number}","pulls_url":"https://api.github.com/repos/MichelFloyd/meteor/pulls{/number}","milestones_url":"https://api.github.com/repos/MichelFloyd/meteor/milestones{/number}","notifications_url":"https://api.github.com/repos/MichelFloyd/meteor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MichelFloyd/meteor/labels{/name}","releases_url":"https://api.github.com/repos/MichelFloyd/meteor/releases{/id}","deployments_url":"https://api.github.com/repos/MichelFloyd/meteor/deployments","created_at":"2016-04-04T04:31:09Z","updated_at":"2016-04-04T04:31:30Z","pushed_at":"2016-04-04T05:48:16Z","git_url":"git://github.com/MichelFloyd/meteor.git","ssh_url":"git@github.com:MichelFloyd/meteor.git","clone_url":"https://github.com/MichelFloyd/meteor.git","svn_url":"https://github.com/MichelFloyd/meteor","homepage":"https://www.meteor.com","size":62284,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"meteor:devel","ref":"devel","sha":"2acade83f90e17dd830bdfde5cc3e80ba205549a","user":{"login":"meteor","id":789528,"avatar_url":"https://avatars.githubusercontent.com/u/789528?v=3","gravatar_id":"","url":"https://api.github.com/users/meteor","html_url":"https://github.com/meteor","followers_url":"https://api.github.com/users/meteor/followers","following_url":"https://api.github.com/users/meteor/following{/other_user}","gists_url":"https://api.github.com/users/meteor/gists{/gist_id}","starred_url":"https://api.github.com/users/meteor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meteor/subscriptions","organizations_url":"https://api.github.com/users/meteor/orgs","repos_url":"https://api.github.com/users/meteor/repos","events_url":"https://api.github.com/users/meteor/events{/privacy}","received_events_url":"https://api.github.com/users/meteor/received_events","type":"Organization","site_admin":false},"repo":{"id":3214406,"name":"meteor","full_name":"meteor/meteor","owner":{"login":"meteor","id":789528,"avatar_url":"https://avatars.githubusercontent.com/u/789528?v=3","gravatar_id":"","url":"https://api.github.com/users/meteor","html_url":"https://github.com/meteor","followers_url":"https://api.github.com/users/meteor/followers","following_url":"https://api.github.com/users/meteor/following{/other_user}","gists_url":"https://api.github.com/users/meteor/gists{/gist_id}","starred_url":"https://api.github.com/users/meteor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meteor/subscriptions","organizations_url":"https://api.github.com/users/meteor/orgs","repos_url":"https://api.github.com/users/meteor/repos","events_url":"https://api.github.com/users/meteor/events{/privacy}","received_events_url":"https://api.github.com/users/meteor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/meteor/meteor","description":"Meteor, the JavaScript App Platform","fork":false,"url":"https://api.github.com/repos/meteor/meteor","forks_url":"https://api.github.com/repos/meteor/meteor/forks","keys_url":"https://api.github.com/repos/meteor/meteor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/meteor/meteor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/meteor/meteor/teams","hooks_url":"https://api.github.com/repos/meteor/meteor/hooks","issue_events_url":"https://api.github.com/repos/meteor/meteor/issues/events{/number}","events_url":"https://api.github.com/repos/meteor/meteor/events","assignees_url":"https://api.github.com/repos/meteor/meteor/assignees{/user}","branches_url":"https://api.github.com/repos/meteor/meteor/branches{/branch}","tags_url":"https://api.github.com/repos/meteor/meteor/tags","blobs_url":"https://api.github.com/repos/meteor/meteor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/meteor/meteor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/meteor/meteor/git/refs{/sha}","trees_url":"https://api.github.com/repos/meteor/meteor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/meteor/meteor/statuses/{sha}","languages_url":"https://api.github.com/repos/meteor/meteor/languages","stargazers_url":"https://api.github.com/repos/meteor/meteor/stargazers","contributors_url":"https://api.github.com/repos/meteor/meteor/contributors","subscribers_url":"https://api.github.com/repos/meteor/meteor/subscribers","subscription_url":"https://api.github.com/repos/meteor/meteor/subscription","commits_url":"https://api.github.com/repos/meteor/meteor/commits{/sha}","git_commits_url":"https://api.github.com/repos/meteor/meteor/git/commits{/sha}","comments_url":"https://api.github.com/repos/meteor/meteor/comments{/number}","issue_comment_url":"https://api.github.com/repos/meteor/meteor/issues/comments{/number}","contents_url":"https://api.github.com/repos/meteor/meteor/contents/{+path}","compare_url":"https://api.github.com/repos/meteor/meteor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/meteor/meteor/merges","archive_url":"https://api.github.com/repos/meteor/meteor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/meteor/meteor/downloads","issues_url":"https://api.github.com/repos/meteor/meteor/issues{/number}","pulls_url":"https://api.github.com/repos/meteor/meteor/pulls{/number}","milestones_url":"https://api.github.com/repos/meteor/meteor/milestones{/number}","notifications_url":"https://api.github.com/repos/meteor/meteor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/meteor/meteor/labels{/name}","releases_url":"https://api.github.com/repos/meteor/meteor/releases{/id}","deployments_url":"https://api.github.com/repos/meteor/meteor/deployments","created_at":"2012-01-19T01:58:17Z","updated_at":"2016-04-04T03:57:06Z","pushed_at":"2016-04-04T05:50:51Z","git_url":"git://github.com/meteor/meteor.git","ssh_url":"git@github.com:meteor/meteor.git","clone_url":"https://github.com/meteor/meteor.git","svn_url":"https://github.com/meteor/meteor","homepage":"https://www.meteor.com","size":77387,"stargazers_count":33123,"watchers_count":33123,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4017,"mirror_url":null,"open_issues_count":1109,"forks":4017,"open_issues":1109,"watchers":33123,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/meteor/meteor/pulls/6693"},"html":{"href":"https://github.com/meteor/meteor/pull/6693"},"issue":{"href":"https://api.github.com/repos/meteor/meteor/issues/6693"},"comments":{"href":"https://api.github.com/repos/meteor/meteor/issues/6693/comments"},"review_comments":{"href":"https://api.github.com/repos/meteor/meteor/pulls/6693/comments"},"review_comment":{"href":"https://api.github.com/repos/meteor/meteor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/meteor/meteor/pulls/6693/commits"},"statuses":{"href":"https://api.github.com/repos/meteor/meteor/statuses/2b22956abe10848accd363fef36ebfe0d1f8a188"}}}}