{"action":"created","comment":{"url":"https://api.github.com/repos/Khan/live-editor/pulls/comments/45812026","id":45812026,"diff_hunk":"@@ -58488,7 +58488,9 @@ var warnings = {\n \tW101: i18n._(\"Line is too long.\"),\n \tW102: i18n._(\"Trailing whitespace.\"),\n \tW103: i18n._(\"The '{a}' property is deprecated.\"),\n-\tW104: i18n._(\"'{a}' is only available in JavaScript 1.7.\"),\n+\tW104: i18n._(\"It looks like you're trying to use '{a}'. '{a}' is a \" +\n+        \"JavaScript 1.7 feature and is not currently supported in this \" +","path":"external/jshint/jshint.js","position":6,"original_position":6,"commit_id":"64b62083bc2f5dea3f699b6309277eff40223d80","original_commit_id":"c9e9d69f0254e8e991ab9599b59a1d26d52f8ad2","user":{"login":"JavascriptFTW","id":8092544,"avatar_url":"https://avatars.githubusercontent.com/u/8092544?v=3","gravatar_id":"","url":"https://api.github.com/users/JavascriptFTW","html_url":"https://github.com/JavascriptFTW","followers_url":"https://api.github.com/users/JavascriptFTW/followers","following_url":"https://api.github.com/users/JavascriptFTW/following{/other_user}","gists_url":"https://api.github.com/users/JavascriptFTW/gists{/gist_id}","starred_url":"https://api.github.com/users/JavascriptFTW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavascriptFTW/subscriptions","organizations_url":"https://api.github.com/users/JavascriptFTW/orgs","repos_url":"https://api.github.com/users/JavascriptFTW/repos","events_url":"https://api.github.com/users/JavascriptFTW/events{/privacy}","received_events_url":"https://api.github.com/users/JavascriptFTW/received_events","type":"User","site_admin":false},"body":"I'll edit this in a bit as I cannot currently. I said \"JavaScript 1.7\" instead of \"ES6\" as it matched the phrasing of the original message.","created_at":"2015-11-24T23:45:46Z","updated_at":"2015-11-24T23:45:46Z","html_url":"https://github.com/Khan/live-editor/pull/493#discussion_r45812026","pull_request_url":"https://api.github.com/repos/Khan/live-editor/pulls/493","_links":{"self":{"href":"https://api.github.com/repos/Khan/live-editor/pulls/comments/45812026"},"html":{"href":"https://github.com/Khan/live-editor/pull/493#discussion_r45812026"},"pull_request":{"href":"https://api.github.com/repos/Khan/live-editor/pulls/493"}}},"pull_request":{"url":"https://api.github.com/repos/Khan/live-editor/pulls/493","id":50728496,"html_url":"https://github.com/Khan/live-editor/pull/493","diff_url":"https://github.com/Khan/live-editor/pull/493.diff","patch_url":"https://github.com/Khan/live-editor/pull/493.patch","issue_url":"https://api.github.com/repos/Khan/live-editor/issues/493","number":493,"state":"open","locked":false,"title":"Make errors for using advanced JS features friendlier","user":{"login":"JavascriptFTW","id":8092544,"avatar_url":"https://avatars.githubusercontent.com/u/8092544?v=3","gravatar_id":"","url":"https://api.github.com/users/JavascriptFTW","html_url":"https://github.com/JavascriptFTW","followers_url":"https://api.github.com/users/JavascriptFTW/followers","following_url":"https://api.github.com/users/JavascriptFTW/following{/other_user}","gists_url":"https://api.github.com/users/JavascriptFTW/gists{/gist_id}","starred_url":"https://api.github.com/users/JavascriptFTW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavascriptFTW/subscriptions","organizations_url":"https://api.github.com/users/JavascriptFTW/orgs","repos_url":"https://api.github.com/users/JavascriptFTW/repos","events_url":"https://api.github.com/users/JavascriptFTW/events{/privacy}","received_events_url":"https://api.github.com/users/JavascriptFTW/received_events","type":"User","site_admin":false},"body":"This pull request fixes #492 by editing the jshint messages for using ES7 and ES6 features to be worded in a more friendly and helpful way.\r\n\r\n# Minor Changes\r\n\r\n## external/jshint/jshint.js\r\n\r\n* Switch W104 from \"'some feature' is only available in JavaScript 1.7.\" to \"It looks like you're trying to use 'some feature'. 'some feature' is a JavaScript 1.7 feature and is not currently supported in the live editor.\"\r\n\r\n* Switch W109 from \"'some feature' is only available in ES6 (use esnext option).\" to \"'some feature' is only available in ES6 which is not supported by the live editor at this point.\"\r\n\r\nIf any editing is required please let me know.\r\n\r\nThank you for your time.","created_at":"2015-11-14T18:05:28Z","updated_at":"2015-11-24T23:45:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"760c88cc8490838fa8f45c69b866c14804e056d7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Khan/live-editor/pulls/493/commits","review_comments_url":"https://api.github.com/repos/Khan/live-editor/pulls/493/comments","review_comment_url":"https://api.github.com/repos/Khan/live-editor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Khan/live-editor/issues/493/comments","statuses_url":"https://api.github.com/repos/Khan/live-editor/statuses/64b62083bc2f5dea3f699b6309277eff40223d80","head":{"label":"JavascriptFTW:master","ref":"master","sha":"64b62083bc2f5dea3f699b6309277eff40223d80","user":{"login":"JavascriptFTW","id":8092544,"avatar_url":"https://avatars.githubusercontent.com/u/8092544?v=3","gravatar_id":"","url":"https://api.github.com/users/JavascriptFTW","html_url":"https://github.com/JavascriptFTW","followers_url":"https://api.github.com/users/JavascriptFTW/followers","following_url":"https://api.github.com/users/JavascriptFTW/following{/other_user}","gists_url":"https://api.github.com/users/JavascriptFTW/gists{/gist_id}","starred_url":"https://api.github.com/users/JavascriptFTW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavascriptFTW/subscriptions","organizations_url":"https://api.github.com/users/JavascriptFTW/orgs","repos_url":"https://api.github.com/users/JavascriptFTW/repos","events_url":"https://api.github.com/users/JavascriptFTW/events{/privacy}","received_events_url":"https://api.github.com/users/JavascriptFTW/received_events","type":"User","site_admin":false},"repo":{"id":38930648,"name":"live-editor","full_name":"JavascriptFTW/live-editor","owner":{"login":"JavascriptFTW","id":8092544,"avatar_url":"https://avatars.githubusercontent.com/u/8092544?v=3","gravatar_id":"","url":"https://api.github.com/users/JavascriptFTW","html_url":"https://github.com/JavascriptFTW","followers_url":"https://api.github.com/users/JavascriptFTW/followers","following_url":"https://api.github.com/users/JavascriptFTW/following{/other_user}","gists_url":"https://api.github.com/users/JavascriptFTW/gists{/gist_id}","starred_url":"https://api.github.com/users/JavascriptFTW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavascriptFTW/subscriptions","organizations_url":"https://api.github.com/users/JavascriptFTW/orgs","repos_url":"https://api.github.com/users/JavascriptFTW/repos","events_url":"https://api.github.com/users/JavascriptFTW/events{/privacy}","received_events_url":"https://api.github.com/users/JavascriptFTW/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JavascriptFTW/live-editor","description":"A browser-based live coding environment.","fork":true,"url":"https://api.github.com/repos/JavascriptFTW/live-editor","forks_url":"https://api.github.com/repos/JavascriptFTW/live-editor/forks","keys_url":"https://api.github.com/repos/JavascriptFTW/live-editor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JavascriptFTW/live-editor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JavascriptFTW/live-editor/teams","hooks_url":"https://api.github.com/repos/JavascriptFTW/live-editor/hooks","issue_events_url":"https://api.github.com/repos/JavascriptFTW/live-editor/issues/events{/number}","events_url":"https://api.github.com/repos/JavascriptFTW/live-editor/events","assignees_url":"https://api.github.com/repos/JavascriptFTW/live-editor/assignees{/user}","branches_url":"https://api.github.com/repos/JavascriptFTW/live-editor/branches{/branch}","tags_url":"https://api.github.com/repos/JavascriptFTW/live-editor/tags","blobs_url":"https://api.github.com/repos/JavascriptFTW/live-editor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JavascriptFTW/live-editor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JavascriptFTW/live-editor/git/refs{/sha}","trees_url":"https://api.github.com/repos/JavascriptFTW/live-editor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JavascriptFTW/live-editor/statuses/{sha}","languages_url":"https://api.github.com/repos/JavascriptFTW/live-editor/languages","stargazers_url":"https://api.github.com/repos/JavascriptFTW/live-editor/stargazers","contributors_url":"https://api.github.com/repos/JavascriptFTW/live-editor/contributors","subscribers_url":"https://api.github.com/repos/JavascriptFTW/live-editor/subscribers","subscription_url":"https://api.github.com/repos/JavascriptFTW/live-editor/subscription","commits_url":"https://api.github.com/repos/JavascriptFTW/live-editor/commits{/sha}","git_commits_url":"https://api.github.com/repos/JavascriptFTW/live-editor/git/commits{/sha}","comments_url":"https://api.github.com/repos/JavascriptFTW/live-editor/comments{/number}","issue_comment_url":"https://api.github.com/repos/JavascriptFTW/live-editor/issues/comments{/number}","contents_url":"https://api.github.com/repos/JavascriptFTW/live-editor/contents/{+path}","compare_url":"https://api.github.com/repos/JavascriptFTW/live-editor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JavascriptFTW/live-editor/merges","archive_url":"https://api.github.com/repos/JavascriptFTW/live-editor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JavascriptFTW/live-editor/downloads","issues_url":"https://api.github.com/repos/JavascriptFTW/live-editor/issues{/number}","pulls_url":"https://api.github.com/repos/JavascriptFTW/live-editor/pulls{/number}","milestones_url":"https://api.github.com/repos/JavascriptFTW/live-editor/milestones{/number}","notifications_url":"https://api.github.com/repos/JavascriptFTW/live-editor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JavascriptFTW/live-editor/labels{/name}","releases_url":"https://api.github.com/repos/JavascriptFTW/live-editor/releases{/id}","created_at":"2015-07-11T15:34:35Z","updated_at":"2015-07-11T15:34:36Z","pushed_at":"2015-11-24T19:14:51Z","git_url":"git://github.com/JavascriptFTW/live-editor.git","ssh_url":"git@github.com:JavascriptFTW/live-editor.git","clone_url":"https://github.com/JavascriptFTW/live-editor.git","svn_url":"https://github.com/JavascriptFTW/live-editor","homepage":"","size":90270,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Khan:master","ref":"master","sha":"0ec74f91ec7c640449ca463d4cede9107fa0145a","user":{"login":"Khan","id":15455,"avatar_url":"https://avatars.githubusercontent.com/u/15455?v=3","gravatar_id":"","url":"https://api.github.com/users/Khan","html_url":"https://github.com/Khan","followers_url":"https://api.github.com/users/Khan/followers","following_url":"https://api.github.com/users/Khan/following{/other_user}","gists_url":"https://api.github.com/users/Khan/gists{/gist_id}","starred_url":"https://api.github.com/users/Khan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khan/subscriptions","organizations_url":"https://api.github.com/users/Khan/orgs","repos_url":"https://api.github.com/users/Khan/repos","events_url":"https://api.github.com/users/Khan/events{/privacy}","received_events_url":"https://api.github.com/users/Khan/received_events","type":"Organization","site_admin":false},"repo":{"id":2675949,"name":"live-editor","full_name":"Khan/live-editor","owner":{"login":"Khan","id":15455,"avatar_url":"https://avatars.githubusercontent.com/u/15455?v=3","gravatar_id":"","url":"https://api.github.com/users/Khan","html_url":"https://github.com/Khan","followers_url":"https://api.github.com/users/Khan/followers","following_url":"https://api.github.com/users/Khan/following{/other_user}","gists_url":"https://api.github.com/users/Khan/gists{/gist_id}","starred_url":"https://api.github.com/users/Khan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khan/subscriptions","organizations_url":"https://api.github.com/users/Khan/orgs","repos_url":"https://api.github.com/users/Khan/repos","events_url":"https://api.github.com/users/Khan/events{/privacy}","received_events_url":"https://api.github.com/users/Khan/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Khan/live-editor","description":"A browser-based live coding environment.","fork":false,"url":"https://api.github.com/repos/Khan/live-editor","forks_url":"https://api.github.com/repos/Khan/live-editor/forks","keys_url":"https://api.github.com/repos/Khan/live-editor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Khan/live-editor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Khan/live-editor/teams","hooks_url":"https://api.github.com/repos/Khan/live-editor/hooks","issue_events_url":"https://api.github.com/repos/Khan/live-editor/issues/events{/number}","events_url":"https://api.github.com/repos/Khan/live-editor/events","assignees_url":"https://api.github.com/repos/Khan/live-editor/assignees{/user}","branches_url":"https://api.github.com/repos/Khan/live-editor/branches{/branch}","tags_url":"https://api.github.com/repos/Khan/live-editor/tags","blobs_url":"https://api.github.com/repos/Khan/live-editor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Khan/live-editor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Khan/live-editor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Khan/live-editor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Khan/live-editor/statuses/{sha}","languages_url":"https://api.github.com/repos/Khan/live-editor/languages","stargazers_url":"https://api.github.com/repos/Khan/live-editor/stargazers","contributors_url":"https://api.github.com/repos/Khan/live-editor/contributors","subscribers_url":"https://api.github.com/repos/Khan/live-editor/subscribers","subscription_url":"https://api.github.com/repos/Khan/live-editor/subscription","commits_url":"https://api.github.com/repos/Khan/live-editor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Khan/live-editor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Khan/live-editor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Khan/live-editor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Khan/live-editor/contents/{+path}","compare_url":"https://api.github.com/repos/Khan/live-editor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Khan/live-editor/merges","archive_url":"https://api.github.com/repos/Khan/live-editor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Khan/live-editor/downloads","issues_url":"https://api.github.com/repos/Khan/live-editor/issues{/number}","pulls_url":"https://api.github.com/repos/Khan/live-editor/pulls{/number}","milestones_url":"https://api.github.com/repos/Khan/live-editor/milestones{/number}","notifications_url":"https://api.github.com/repos/Khan/live-editor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Khan/live-editor/labels{/name}","releases_url":"https://api.github.com/repos/Khan/live-editor/releases{/id}","created_at":"2011-10-30T16:39:46Z","updated_at":"2015-11-20T16:48:49Z","pushed_at":"2015-11-24T19:14:51Z","git_url":"git://github.com/Khan/live-editor.git","ssh_url":"git@github.com:Khan/live-editor.git","clone_url":"https://github.com/Khan/live-editor.git","svn_url":"https://github.com/Khan/live-editor","homepage":"","size":93636,"stargazers_count":352,"watchers_count":352,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":83,"mirror_url":null,"open_issues_count":141,"forks":83,"open_issues":141,"watchers":352,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Khan/live-editor/pulls/493"},"html":{"href":"https://github.com/Khan/live-editor/pull/493"},"issue":{"href":"https://api.github.com/repos/Khan/live-editor/issues/493"},"comments":{"href":"https://api.github.com/repos/Khan/live-editor/issues/493/comments"},"review_comments":{"href":"https://api.github.com/repos/Khan/live-editor/pulls/493/comments"},"review_comment":{"href":"https://api.github.com/repos/Khan/live-editor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Khan/live-editor/pulls/493/commits"},"statuses":{"href":"https://api.github.com/repos/Khan/live-editor/statuses/64b62083bc2f5dea3f699b6309277eff40223d80"}}}}