{"action":"created","comment":{"url":"https://api.github.com/repos/Khan/KaTeX/pulls/comments/80233746","id":80233746,"diff_hunk":"@@ -1382,6 +1382,15 @@ describe(\"An HTML font tree-builder\", function() {\n         span = \"<span class=\\\"mord mathbb\\\" style=\\\"color:blue;\\\">R</span>\";\n         expect(markup).toContain(span);\n     });\n+\n+    it(\"should throw TypeError when the expression is of the wrong type\", function() {\n+        expect(function() {\n+            katex.renderToString({badInputType: \"yes\"});\n+        }).toThrowError(TypeError);\n+        expect(function() {\n+            katex.renderToString([\"foo\", {badInputType: \"yes\"}]);\n+        }).toThrowError(TypeError);\n+    });","path":"test/katex-spec.js","position":null,"original_position":12,"commit_id":"cd584e0a1531f087c615577d018ededef061ed7d","original_commit_id":"dbfd3004934b176f6c959843b4f2e136a68fdeda","user":{"login":"shuttle1987","id":2470165,"avatar_url":"https://avatars.githubusercontent.com/u/2470165?v=3","gravatar_id":"","url":"https://api.github.com/users/shuttle1987","html_url":"https://github.com/shuttle1987","followers_url":"https://api.github.com/users/shuttle1987/followers","following_url":"https://api.github.com/users/shuttle1987/following{/other_user}","gists_url":"https://api.github.com/users/shuttle1987/gists{/gist_id}","starred_url":"https://api.github.com/users/shuttle1987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuttle1987/subscriptions","organizations_url":"https://api.github.com/users/shuttle1987/orgs","repos_url":"https://api.github.com/users/shuttle1987/repos","events_url":"https://api.github.com/users/shuttle1987/events{/privacy}","received_events_url":"https://api.github.com/users/shuttle1987/received_events","type":"User","site_admin":false},"body":"Tests implemented in https://github.com/Khan/KaTeX/pull/540/commits/cd584e0a1531f087c615577d018ededef061ed7d","created_at":"2016-09-23T12:23:02Z","updated_at":"2016-09-23T12:23:02Z","html_url":"https://github.com/Khan/KaTeX/pull/540#discussion_r80233746","pull_request_url":"https://api.github.com/repos/Khan/KaTeX/pulls/540","_links":{"self":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/comments/80233746"},"html":{"href":"https://github.com/Khan/KaTeX/pull/540#discussion_r80233746"},"pull_request":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/540"}}},"pull_request":{"url":"https://api.github.com/repos/Khan/KaTeX/pulls/540","id":86485813,"html_url":"https://github.com/Khan/KaTeX/pull/540","diff_url":"https://github.com/Khan/KaTeX/pull/540.diff","patch_url":"https://github.com/Khan/KaTeX/pull/540.patch","issue_url":"https://api.github.com/repos/Khan/KaTeX/issues/540","number":540,"state":"open","locked":false,"title":"Invalid input error message","user":{"login":"shuttle1987","id":2470165,"avatar_url":"https://avatars.githubusercontent.com/u/2470165?v=3","gravatar_id":"","url":"https://api.github.com/users/shuttle1987","html_url":"https://github.com/shuttle1987","followers_url":"https://api.github.com/users/shuttle1987/followers","following_url":"https://api.github.com/users/shuttle1987/following{/other_user}","gists_url":"https://api.github.com/users/shuttle1987/gists{/gist_id}","starred_url":"https://api.github.com/users/shuttle1987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuttle1987/subscriptions","organizations_url":"https://api.github.com/users/shuttle1987/orgs","repos_url":"https://api.github.com/users/shuttle1987/repos","events_url":"https://api.github.com/users/shuttle1987/events{/privacy}","received_events_url":"https://api.github.com/users/shuttle1987/received_events","type":"User","site_admin":false},"body":"Fix for issue referenced in #539","created_at":"2016-09-23T10:03:47Z","updated_at":"2016-09-23T12:23:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d798a2d42566516b59062c9cd547017ed9730e6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Khan/KaTeX/pulls/540/commits","review_comments_url":"https://api.github.com/repos/Khan/KaTeX/pulls/540/comments","review_comment_url":"https://api.github.com/repos/Khan/KaTeX/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Khan/KaTeX/issues/540/comments","statuses_url":"https://api.github.com/repos/Khan/KaTeX/statuses/cd584e0a1531f087c615577d018ededef061ed7d","head":{"label":"shuttle1987:invalid-input-error-message","ref":"invalid-input-error-message","sha":"cd584e0a1531f087c615577d018ededef061ed7d","user":{"login":"shuttle1987","id":2470165,"avatar_url":"https://avatars.githubusercontent.com/u/2470165?v=3","gravatar_id":"","url":"https://api.github.com/users/shuttle1987","html_url":"https://github.com/shuttle1987","followers_url":"https://api.github.com/users/shuttle1987/followers","following_url":"https://api.github.com/users/shuttle1987/following{/other_user}","gists_url":"https://api.github.com/users/shuttle1987/gists{/gist_id}","starred_url":"https://api.github.com/users/shuttle1987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuttle1987/subscriptions","organizations_url":"https://api.github.com/users/shuttle1987/orgs","repos_url":"https://api.github.com/users/shuttle1987/repos","events_url":"https://api.github.com/users/shuttle1987/events{/privacy}","received_events_url":"https://api.github.com/users/shuttle1987/received_events","type":"User","site_admin":false},"repo":{"id":68780143,"name":"KaTeX","full_name":"shuttle1987/KaTeX","owner":{"login":"shuttle1987","id":2470165,"avatar_url":"https://avatars.githubusercontent.com/u/2470165?v=3","gravatar_id":"","url":"https://api.github.com/users/shuttle1987","html_url":"https://github.com/shuttle1987","followers_url":"https://api.github.com/users/shuttle1987/followers","following_url":"https://api.github.com/users/shuttle1987/following{/other_user}","gists_url":"https://api.github.com/users/shuttle1987/gists{/gist_id}","starred_url":"https://api.github.com/users/shuttle1987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuttle1987/subscriptions","organizations_url":"https://api.github.com/users/shuttle1987/orgs","repos_url":"https://api.github.com/users/shuttle1987/repos","events_url":"https://api.github.com/users/shuttle1987/events{/privacy}","received_events_url":"https://api.github.com/users/shuttle1987/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shuttle1987/KaTeX","description":"Fast math typesetting for the web.","fork":true,"url":"https://api.github.com/repos/shuttle1987/KaTeX","forks_url":"https://api.github.com/repos/shuttle1987/KaTeX/forks","keys_url":"https://api.github.com/repos/shuttle1987/KaTeX/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shuttle1987/KaTeX/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shuttle1987/KaTeX/teams","hooks_url":"https://api.github.com/repos/shuttle1987/KaTeX/hooks","issue_events_url":"https://api.github.com/repos/shuttle1987/KaTeX/issues/events{/number}","events_url":"https://api.github.com/repos/shuttle1987/KaTeX/events","assignees_url":"https://api.github.com/repos/shuttle1987/KaTeX/assignees{/user}","branches_url":"https://api.github.com/repos/shuttle1987/KaTeX/branches{/branch}","tags_url":"https://api.github.com/repos/shuttle1987/KaTeX/tags","blobs_url":"https://api.github.com/repos/shuttle1987/KaTeX/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shuttle1987/KaTeX/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shuttle1987/KaTeX/git/refs{/sha}","trees_url":"https://api.github.com/repos/shuttle1987/KaTeX/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shuttle1987/KaTeX/statuses/{sha}","languages_url":"https://api.github.com/repos/shuttle1987/KaTeX/languages","stargazers_url":"https://api.github.com/repos/shuttle1987/KaTeX/stargazers","contributors_url":"https://api.github.com/repos/shuttle1987/KaTeX/contributors","subscribers_url":"https://api.github.com/repos/shuttle1987/KaTeX/subscribers","subscription_url":"https://api.github.com/repos/shuttle1987/KaTeX/subscription","commits_url":"https://api.github.com/repos/shuttle1987/KaTeX/commits{/sha}","git_commits_url":"https://api.github.com/repos/shuttle1987/KaTeX/git/commits{/sha}","comments_url":"https://api.github.com/repos/shuttle1987/KaTeX/comments{/number}","issue_comment_url":"https://api.github.com/repos/shuttle1987/KaTeX/issues/comments{/number}","contents_url":"https://api.github.com/repos/shuttle1987/KaTeX/contents/{+path}","compare_url":"https://api.github.com/repos/shuttle1987/KaTeX/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shuttle1987/KaTeX/merges","archive_url":"https://api.github.com/repos/shuttle1987/KaTeX/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shuttle1987/KaTeX/downloads","issues_url":"https://api.github.com/repos/shuttle1987/KaTeX/issues{/number}","pulls_url":"https://api.github.com/repos/shuttle1987/KaTeX/pulls{/number}","milestones_url":"https://api.github.com/repos/shuttle1987/KaTeX/milestones{/number}","notifications_url":"https://api.github.com/repos/shuttle1987/KaTeX/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shuttle1987/KaTeX/labels{/name}","releases_url":"https://api.github.com/repos/shuttle1987/KaTeX/releases{/id}","deployments_url":"https://api.github.com/repos/shuttle1987/KaTeX/deployments","created_at":"2016-09-21T04:28:41Z","updated_at":"2016-09-21T04:28:43Z","pushed_at":"2016-09-23T12:22:36Z","git_url":"git://github.com/shuttle1987/KaTeX.git","ssh_url":"git@github.com:shuttle1987/KaTeX.git","clone_url":"https://github.com/shuttle1987/KaTeX.git","svn_url":"https://github.com/shuttle1987/KaTeX","homepage":"https://khan.github.io/KaTeX/","size":13778,"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":"master"}},"base":{"label":"Khan:master","ref":"master","sha":"a16ae7a5ebc97cfb610a2143254393918fd0650d","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":11195700,"name":"KaTeX","full_name":"Khan/KaTeX","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/KaTeX","description":"Fast math typesetting for the web.","fork":false,"url":"https://api.github.com/repos/Khan/KaTeX","forks_url":"https://api.github.com/repos/Khan/KaTeX/forks","keys_url":"https://api.github.com/repos/Khan/KaTeX/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Khan/KaTeX/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Khan/KaTeX/teams","hooks_url":"https://api.github.com/repos/Khan/KaTeX/hooks","issue_events_url":"https://api.github.com/repos/Khan/KaTeX/issues/events{/number}","events_url":"https://api.github.com/repos/Khan/KaTeX/events","assignees_url":"https://api.github.com/repos/Khan/KaTeX/assignees{/user}","branches_url":"https://api.github.com/repos/Khan/KaTeX/branches{/branch}","tags_url":"https://api.github.com/repos/Khan/KaTeX/tags","blobs_url":"https://api.github.com/repos/Khan/KaTeX/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Khan/KaTeX/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Khan/KaTeX/git/refs{/sha}","trees_url":"https://api.github.com/repos/Khan/KaTeX/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Khan/KaTeX/statuses/{sha}","languages_url":"https://api.github.com/repos/Khan/KaTeX/languages","stargazers_url":"https://api.github.com/repos/Khan/KaTeX/stargazers","contributors_url":"https://api.github.com/repos/Khan/KaTeX/contributors","subscribers_url":"https://api.github.com/repos/Khan/KaTeX/subscribers","subscription_url":"https://api.github.com/repos/Khan/KaTeX/subscription","commits_url":"https://api.github.com/repos/Khan/KaTeX/commits{/sha}","git_commits_url":"https://api.github.com/repos/Khan/KaTeX/git/commits{/sha}","comments_url":"https://api.github.com/repos/Khan/KaTeX/comments{/number}","issue_comment_url":"https://api.github.com/repos/Khan/KaTeX/issues/comments{/number}","contents_url":"https://api.github.com/repos/Khan/KaTeX/contents/{+path}","compare_url":"https://api.github.com/repos/Khan/KaTeX/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Khan/KaTeX/merges","archive_url":"https://api.github.com/repos/Khan/KaTeX/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Khan/KaTeX/downloads","issues_url":"https://api.github.com/repos/Khan/KaTeX/issues{/number}","pulls_url":"https://api.github.com/repos/Khan/KaTeX/pulls{/number}","milestones_url":"https://api.github.com/repos/Khan/KaTeX/milestones{/number}","notifications_url":"https://api.github.com/repos/Khan/KaTeX/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Khan/KaTeX/labels{/name}","releases_url":"https://api.github.com/repos/Khan/KaTeX/releases{/id}","deployments_url":"https://api.github.com/repos/Khan/KaTeX/deployments","created_at":"2013-07-05T09:01:54Z","updated_at":"2016-09-23T03:06:53Z","pushed_at":"2016-09-23T12:22:36Z","git_url":"git://github.com/Khan/KaTeX.git","ssh_url":"git@github.com:Khan/KaTeX.git","clone_url":"https://github.com/Khan/KaTeX.git","svn_url":"https://github.com/Khan/KaTeX","homepage":"https://khan.github.io/KaTeX/","size":14903,"stargazers_count":4940,"watchers_count":4940,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":337,"mirror_url":null,"open_issues_count":150,"forks":337,"open_issues":150,"watchers":4940,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/540"},"html":{"href":"https://github.com/Khan/KaTeX/pull/540"},"issue":{"href":"https://api.github.com/repos/Khan/KaTeX/issues/540"},"comments":{"href":"https://api.github.com/repos/Khan/KaTeX/issues/540/comments"},"review_comments":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/540/comments"},"review_comment":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/540/commits"},"statuses":{"href":"https://api.github.com/repos/Khan/KaTeX/statuses/cd584e0a1531f087c615577d018ededef061ed7d"}}}}
{"actor":{"display_login":"shuttle1987"}}