{"action":"opened","number":168,"pull_request":{"url":"https://api.github.com/repos/tensorflow/tfjs-website/pulls/168","id":195821485,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1ODIxNDg1","html_url":"https://github.com/tensorflow/tfjs-website/pull/168","diff_url":"https://github.com/tensorflow/tfjs-website/pull/168.diff","patch_url":"https://github.com/tensorflow/tfjs-website/pull/168.patch","issue_url":"https://api.github.com/repos/tensorflow/tfjs-website/issues/168","number":168,"state":"open","locked":false,"title":"Fix code example indentation in themes/dljs/layout/index.hbs","user":{"login":"cdeil","id":852409,"node_id":"MDQ6VXNlcjg1MjQwOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/852409?v=4","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"body":"I found that the example at https://js.tensorflow.org/ is unnecessarily indented. Just a minor annoyance when copy & pasting to try this out for the first time.\r\n\r\nThis PR tries to fully dedent the code. Not sure if this is the best way to do this for code embedded in HTML.","created_at":"2018-06-19T13:08:35Z","updated_at":"2018-06-19T13:08:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/tensorflow/tfjs-website/pulls/168/commits","review_comments_url":"https://api.github.com/repos/tensorflow/tfjs-website/pulls/168/comments","review_comment_url":"https://api.github.com/repos/tensorflow/tfjs-website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tensorflow/tfjs-website/issues/168/comments","statuses_url":"https://api.github.com/repos/tensorflow/tfjs-website/statuses/86fe7ac93230131ec6551688c73a2d6fc4ef6cf1","head":{"label":"cdeil:example-indent","ref":"example-indent","sha":"86fe7ac93230131ec6551688c73a2d6fc4ef6cf1","user":{"login":"cdeil","id":852409,"node_id":"MDQ6VXNlcjg1MjQwOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/852409?v=4","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"repo":{"id":137892206,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc4OTIyMDY=","name":"tfjs-website","full_name":"cdeil/tfjs-website","owner":{"login":"cdeil","id":852409,"node_id":"MDQ6VXNlcjg1MjQwOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/852409?v=4","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cdeil/tfjs-website","description":"WebGL-accelerated ML // linear algebra // automatic differentiation for JavaScript.","fork":true,"url":"https://api.github.com/repos/cdeil/tfjs-website","forks_url":"https://api.github.com/repos/cdeil/tfjs-website/forks","keys_url":"https://api.github.com/repos/cdeil/tfjs-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cdeil/tfjs-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cdeil/tfjs-website/teams","hooks_url":"https://api.github.com/repos/cdeil/tfjs-website/hooks","issue_events_url":"https://api.github.com/repos/cdeil/tfjs-website/issues/events{/number}","events_url":"https://api.github.com/repos/cdeil/tfjs-website/events","assignees_url":"https://api.github.com/repos/cdeil/tfjs-website/assignees{/user}","branches_url":"https://api.github.com/repos/cdeil/tfjs-website/branches{/branch}","tags_url":"https://api.github.com/repos/cdeil/tfjs-website/tags","blobs_url":"https://api.github.com/repos/cdeil/tfjs-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cdeil/tfjs-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cdeil/tfjs-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/cdeil/tfjs-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cdeil/tfjs-website/statuses/{sha}","languages_url":"https://api.github.com/repos/cdeil/tfjs-website/languages","stargazers_url":"https://api.github.com/repos/cdeil/tfjs-website/stargazers","contributors_url":"https://api.github.com/repos/cdeil/tfjs-website/contributors","subscribers_url":"https://api.github.com/repos/cdeil/tfjs-website/subscribers","subscription_url":"https://api.github.com/repos/cdeil/tfjs-website/subscription","commits_url":"https://api.github.com/repos/cdeil/tfjs-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/cdeil/tfjs-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/cdeil/tfjs-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/cdeil/tfjs-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/cdeil/tfjs-website/contents/{+path}","compare_url":"https://api.github.com/repos/cdeil/tfjs-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cdeil/tfjs-website/merges","archive_url":"https://api.github.com/repos/cdeil/tfjs-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cdeil/tfjs-website/downloads","issues_url":"https://api.github.com/repos/cdeil/tfjs-website/issues{/number}","pulls_url":"https://api.github.com/repos/cdeil/tfjs-website/pulls{/number}","milestones_url":"https://api.github.com/repos/cdeil/tfjs-website/milestones{/number}","notifications_url":"https://api.github.com/repos/cdeil/tfjs-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cdeil/tfjs-website/labels{/name}","releases_url":"https://api.github.com/repos/cdeil/tfjs-website/releases{/id}","deployments_url":"https://api.github.com/repos/cdeil/tfjs-website/deployments","created_at":"2018-06-19T13:02:29Z","updated_at":"2018-06-19T13:02:31Z","pushed_at":"2018-06-19T13:02:49Z","git_url":"git://github.com/cdeil/tfjs-website.git","ssh_url":"git@github.com:cdeil/tfjs-website.git","clone_url":"https://github.com/cdeil/tfjs-website.git","svn_url":"https://github.com/cdeil/tfjs-website","homepage":"https://js.tensorflow.org","size":6177,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tensorflow:master","ref":"master","sha":"9b1048d96377b099db44a33c204a7e05cc559f66","user":{"login":"tensorflow","id":15658638,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1NjU4NjM4","avatar_url":"https://avatars1.githubusercontent.com/u/15658638?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"repo":{"id":123870436,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM4NzA0MzY=","name":"tfjs-website","full_name":"tensorflow/tfjs-website","owner":{"login":"tensorflow","id":15658638,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1NjU4NjM4","avatar_url":"https://avatars1.githubusercontent.com/u/15658638?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tensorflow/tfjs-website","description":"WebGL-accelerated ML // linear algebra // automatic differentiation for JavaScript.","fork":false,"url":"https://api.github.com/repos/tensorflow/tfjs-website","forks_url":"https://api.github.com/repos/tensorflow/tfjs-website/forks","keys_url":"https://api.github.com/repos/tensorflow/tfjs-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tensorflow/tfjs-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tensorflow/tfjs-website/teams","hooks_url":"https://api.github.com/repos/tensorflow/tfjs-website/hooks","issue_events_url":"https://api.github.com/repos/tensorflow/tfjs-website/issues/events{/number}","events_url":"https://api.github.com/repos/tensorflow/tfjs-website/events","assignees_url":"https://api.github.com/repos/tensorflow/tfjs-website/assignees{/user}","branches_url":"https://api.github.com/repos/tensorflow/tfjs-website/branches{/branch}","tags_url":"https://api.github.com/repos/tensorflow/tfjs-website/tags","blobs_url":"https://api.github.com/repos/tensorflow/tfjs-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tensorflow/tfjs-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tensorflow/tfjs-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/tensorflow/tfjs-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tensorflow/tfjs-website/statuses/{sha}","languages_url":"https://api.github.com/repos/tensorflow/tfjs-website/languages","stargazers_url":"https://api.github.com/repos/tensorflow/tfjs-website/stargazers","contributors_url":"https://api.github.com/repos/tensorflow/tfjs-website/contributors","subscribers_url":"https://api.github.com/repos/tensorflow/tfjs-website/subscribers","subscription_url":"https://api.github.com/repos/tensorflow/tfjs-website/subscription","commits_url":"https://api.github.com/repos/tensorflow/tfjs-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/tensorflow/tfjs-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/tensorflow/tfjs-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/tensorflow/tfjs-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/tensorflow/tfjs-website/contents/{+path}","compare_url":"https://api.github.com/repos/tensorflow/tfjs-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tensorflow/tfjs-website/merges","archive_url":"https://api.github.com/repos/tensorflow/tfjs-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tensorflow/tfjs-website/downloads","issues_url":"https://api.github.com/repos/tensorflow/tfjs-website/issues{/number}","pulls_url":"https://api.github.com/repos/tensorflow/tfjs-website/pulls{/number}","milestones_url":"https://api.github.com/repos/tensorflow/tfjs-website/milestones{/number}","notifications_url":"https://api.github.com/repos/tensorflow/tfjs-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tensorflow/tfjs-website/labels{/name}","releases_url":"https://api.github.com/repos/tensorflow/tfjs-website/releases{/id}","deployments_url":"https://api.github.com/repos/tensorflow/tfjs-website/deployments","created_at":"2018-03-05T05:42:13Z","updated_at":"2018-06-18T14:33:07Z","pushed_at":"2018-06-13T19:34:25Z","git_url":"git://github.com/tensorflow/tfjs-website.git","ssh_url":"git@github.com:tensorflow/tfjs-website.git","clone_url":"https://github.com/tensorflow/tfjs-website.git","svn_url":"https://github.com/tensorflow/tfjs-website","homepage":"https://js.tensorflow.org","size":6177,"stargazers_count":15,"watchers_count":15,"language":"CSS","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":17,"open_issues":8,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tensorflow/tfjs-website/pulls/168"},"html":{"href":"https://github.com/tensorflow/tfjs-website/pull/168"},"issue":{"href":"https://api.github.com/repos/tensorflow/tfjs-website/issues/168"},"comments":{"href":"https://api.github.com/repos/tensorflow/tfjs-website/issues/168/comments"},"review_comments":{"href":"https://api.github.com/repos/tensorflow/tfjs-website/pulls/168/comments"},"review_comment":{"href":"https://api.github.com/repos/tensorflow/tfjs-website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tensorflow/tfjs-website/pulls/168/commits"},"statuses":{"href":"https://api.github.com/repos/tensorflow/tfjs-website/statuses/86fe7ac93230131ec6551688c73a2d6fc4ef6cf1"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":47,"deletions":47,"changed_files":1}}
{"actor":{"display_login":"cdeil"}}