{"action":"created","comment":{"url":"https://api.github.com/repos/jupyter/notebook/pulls/comments/57982950","id":57982950,"diff_hunk":"@@ -271,17 +271,21 @@ def init_handlers(self, settings):\n         handlers.extend(load_handlers('lab.handlers'))\n         \n         # BEGIN HARDCODED WIDGETS HACK\n+        # TODO: Remove on notebook 5.0\n         widgets = None\n         try:\n-            import ipywidgets as widgets\n-            handlers.append(\n-                (r\"/nbextensions/widgets/(.*)\", FileFindHandler, {\n-                    'path': widgets.find_static_assets(),\n-                    'no_cache_paths': ['/'], # don't cache anything in nbextensions\n-                }),\n-            )\n+            import widgetsnbextension","path":"notebook/notebookapp.py","position":null,"original_position":14,"commit_id":"9f9bc69e9bc6bdbaaa983cf0fb21335527a77f28","original_commit_id":"7695311668d200c35efc119942f4f2912edfe21d","user":{"login":"parente","id":153745,"avatar_url":"https://avatars.githubusercontent.com/u/153745?v=3","gravatar_id":"","url":"https://api.github.com/users/parente","html_url":"https://github.com/parente","followers_url":"https://api.github.com/users/parente/followers","following_url":"https://api.github.com/users/parente/following{/other_user}","gists_url":"https://api.github.com/users/parente/gists{/gist_id}","starred_url":"https://api.github.com/users/parente/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parente/subscriptions","organizations_url":"https://api.github.com/users/parente/orgs","repos_url":"https://api.github.com/users/parente/repos","events_url":"https://api.github.com/users/parente/events{/privacy}","received_events_url":"https://api.github.com/users/parente/received_events","type":"User","site_admin":false},"body":"Oh noes!","created_at":"2016-03-30T23:53:51Z","updated_at":"2016-03-30T23:53:51Z","html_url":"https://github.com/jupyter/notebook/pull/1279#discussion_r57982950","pull_request_url":"https://api.github.com/repos/jupyter/notebook/pulls/1279","_links":{"self":{"href":"https://api.github.com/repos/jupyter/notebook/pulls/comments/57982950"},"html":{"href":"https://github.com/jupyter/notebook/pull/1279#discussion_r57982950"},"pull_request":{"href":"https://api.github.com/repos/jupyter/notebook/pulls/1279"}}},"pull_request":{"url":"https://api.github.com/repos/jupyter/notebook/pulls/1279","id":64547798,"html_url":"https://github.com/jupyter/notebook/pull/1279","diff_url":"https://github.com/jupyter/notebook/pull/1279.diff","patch_url":"https://github.com/jupyter/notebook/pull/1279.patch","issue_url":"https://api.github.com/repos/jupyter/notebook/issues/1279","number":1279,"state":"open","locked":false,"title":"Downgraded ipywidget hack","user":{"login":"parente","id":153745,"avatar_url":"https://avatars.githubusercontent.com/u/153745?v=3","gravatar_id":"","url":"https://api.github.com/users/parente","html_url":"https://github.com/parente","followers_url":"https://api.github.com/users/parente/followers","following_url":"https://api.github.com/users/parente/following{/other_user}","gists_url":"https://api.github.com/users/parente/gists{/gist_id}","starred_url":"https://api.github.com/users/parente/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parente/subscriptions","organizations_url":"https://api.github.com/users/parente/orgs","repos_url":"https://api.github.com/users/parente/repos","events_url":"https://api.github.com/users/parente/events{/privacy}","received_events_url":"https://api.github.com/users/parente/received_events","type":"User","site_admin":false},"body":"Fixed whitespace for jon's PR #1278","created_at":"2016-03-29T22:58:49Z","updated_at":"2016-03-30T23:53:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b35a677ee0d08bece730ba1dae00b75824a8861","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jupyter/notebook/pulls/1279/commits","review_comments_url":"https://api.github.com/repos/jupyter/notebook/pulls/1279/comments","review_comment_url":"https://api.github.com/repos/jupyter/notebook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jupyter/notebook/issues/1279/comments","statuses_url":"https://api.github.com/repos/jupyter/notebook/statuses/9f9bc69e9bc6bdbaaa983cf0fb21335527a77f28","head":{"label":"parente:widg","ref":"widg","sha":"9f9bc69e9bc6bdbaaa983cf0fb21335527a77f28","user":{"login":"parente","id":153745,"avatar_url":"https://avatars.githubusercontent.com/u/153745?v=3","gravatar_id":"","url":"https://api.github.com/users/parente","html_url":"https://github.com/parente","followers_url":"https://api.github.com/users/parente/followers","following_url":"https://api.github.com/users/parente/following{/other_user}","gists_url":"https://api.github.com/users/parente/gists{/gist_id}","starred_url":"https://api.github.com/users/parente/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parente/subscriptions","organizations_url":"https://api.github.com/users/parente/orgs","repos_url":"https://api.github.com/users/parente/repos","events_url":"https://api.github.com/users/parente/events{/privacy}","received_events_url":"https://api.github.com/users/parente/received_events","type":"User","site_admin":false},"repo":{"id":47409568,"name":"notebook","full_name":"parente/notebook","owner":{"login":"parente","id":153745,"avatar_url":"https://avatars.githubusercontent.com/u/153745?v=3","gravatar_id":"","url":"https://api.github.com/users/parente","html_url":"https://github.com/parente","followers_url":"https://api.github.com/users/parente/followers","following_url":"https://api.github.com/users/parente/following{/other_user}","gists_url":"https://api.github.com/users/parente/gists{/gist_id}","starred_url":"https://api.github.com/users/parente/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parente/subscriptions","organizations_url":"https://api.github.com/users/parente/orgs","repos_url":"https://api.github.com/users/parente/repos","events_url":"https://api.github.com/users/parente/events{/privacy}","received_events_url":"https://api.github.com/users/parente/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/parente/notebook","description":"Jupyter Interactive Notebook","fork":true,"url":"https://api.github.com/repos/parente/notebook","forks_url":"https://api.github.com/repos/parente/notebook/forks","keys_url":"https://api.github.com/repos/parente/notebook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parente/notebook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parente/notebook/teams","hooks_url":"https://api.github.com/repos/parente/notebook/hooks","issue_events_url":"https://api.github.com/repos/parente/notebook/issues/events{/number}","events_url":"https://api.github.com/repos/parente/notebook/events","assignees_url":"https://api.github.com/repos/parente/notebook/assignees{/user}","branches_url":"https://api.github.com/repos/parente/notebook/branches{/branch}","tags_url":"https://api.github.com/repos/parente/notebook/tags","blobs_url":"https://api.github.com/repos/parente/notebook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parente/notebook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parente/notebook/git/refs{/sha}","trees_url":"https://api.github.com/repos/parente/notebook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parente/notebook/statuses/{sha}","languages_url":"https://api.github.com/repos/parente/notebook/languages","stargazers_url":"https://api.github.com/repos/parente/notebook/stargazers","contributors_url":"https://api.github.com/repos/parente/notebook/contributors","subscribers_url":"https://api.github.com/repos/parente/notebook/subscribers","subscription_url":"https://api.github.com/repos/parente/notebook/subscription","commits_url":"https://api.github.com/repos/parente/notebook/commits{/sha}","git_commits_url":"https://api.github.com/repos/parente/notebook/git/commits{/sha}","comments_url":"https://api.github.com/repos/parente/notebook/comments{/number}","issue_comment_url":"https://api.github.com/repos/parente/notebook/issues/comments{/number}","contents_url":"https://api.github.com/repos/parente/notebook/contents/{+path}","compare_url":"https://api.github.com/repos/parente/notebook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parente/notebook/merges","archive_url":"https://api.github.com/repos/parente/notebook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parente/notebook/downloads","issues_url":"https://api.github.com/repos/parente/notebook/issues{/number}","pulls_url":"https://api.github.com/repos/parente/notebook/pulls{/number}","milestones_url":"https://api.github.com/repos/parente/notebook/milestones{/number}","notifications_url":"https://api.github.com/repos/parente/notebook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parente/notebook/labels{/name}","releases_url":"https://api.github.com/repos/parente/notebook/releases{/id}","deployments_url":"https://api.github.com/repos/parente/notebook/deployments","created_at":"2015-12-04T14:44:55Z","updated_at":"2015-12-04T14:44:56Z","pushed_at":"2016-03-30T23:26:46Z","git_url":"git://github.com/parente/notebook.git","ssh_url":"git@github.com:parente/notebook.git","clone_url":"https://github.com/parente/notebook.git","svn_url":"https://github.com/parente/notebook","homepage":"http://jupyter-notebook.readthedocs.org/","size":19096,"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":"jupyter:master","ref":"master","sha":"b5fe73858da9efed0053118a937744482dd1ecc2","user":{"login":"jupyter","id":7388996,"avatar_url":"https://avatars.githubusercontent.com/u/7388996?v=3","gravatar_id":"","url":"https://api.github.com/users/jupyter","html_url":"https://github.com/jupyter","followers_url":"https://api.github.com/users/jupyter/followers","following_url":"https://api.github.com/users/jupyter/following{/other_user}","gists_url":"https://api.github.com/users/jupyter/gists{/gist_id}","starred_url":"https://api.github.com/users/jupyter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupyter/subscriptions","organizations_url":"https://api.github.com/users/jupyter/orgs","repos_url":"https://api.github.com/users/jupyter/repos","events_url":"https://api.github.com/users/jupyter/events{/privacy}","received_events_url":"https://api.github.com/users/jupyter/received_events","type":"Organization","site_admin":false},"repo":{"id":33653601,"name":"notebook","full_name":"jupyter/notebook","owner":{"login":"jupyter","id":7388996,"avatar_url":"https://avatars.githubusercontent.com/u/7388996?v=3","gravatar_id":"","url":"https://api.github.com/users/jupyter","html_url":"https://github.com/jupyter","followers_url":"https://api.github.com/users/jupyter/followers","following_url":"https://api.github.com/users/jupyter/following{/other_user}","gists_url":"https://api.github.com/users/jupyter/gists{/gist_id}","starred_url":"https://api.github.com/users/jupyter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupyter/subscriptions","organizations_url":"https://api.github.com/users/jupyter/orgs","repos_url":"https://api.github.com/users/jupyter/repos","events_url":"https://api.github.com/users/jupyter/events{/privacy}","received_events_url":"https://api.github.com/users/jupyter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jupyter/notebook","description":"Jupyter Interactive Notebook","fork":false,"url":"https://api.github.com/repos/jupyter/notebook","forks_url":"https://api.github.com/repos/jupyter/notebook/forks","keys_url":"https://api.github.com/repos/jupyter/notebook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jupyter/notebook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jupyter/notebook/teams","hooks_url":"https://api.github.com/repos/jupyter/notebook/hooks","issue_events_url":"https://api.github.com/repos/jupyter/notebook/issues/events{/number}","events_url":"https://api.github.com/repos/jupyter/notebook/events","assignees_url":"https://api.github.com/repos/jupyter/notebook/assignees{/user}","branches_url":"https://api.github.com/repos/jupyter/notebook/branches{/branch}","tags_url":"https://api.github.com/repos/jupyter/notebook/tags","blobs_url":"https://api.github.com/repos/jupyter/notebook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jupyter/notebook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jupyter/notebook/git/refs{/sha}","trees_url":"https://api.github.com/repos/jupyter/notebook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jupyter/notebook/statuses/{sha}","languages_url":"https://api.github.com/repos/jupyter/notebook/languages","stargazers_url":"https://api.github.com/repos/jupyter/notebook/stargazers","contributors_url":"https://api.github.com/repos/jupyter/notebook/contributors","subscribers_url":"https://api.github.com/repos/jupyter/notebook/subscribers","subscription_url":"https://api.github.com/repos/jupyter/notebook/subscription","commits_url":"https://api.github.com/repos/jupyter/notebook/commits{/sha}","git_commits_url":"https://api.github.com/repos/jupyter/notebook/git/commits{/sha}","comments_url":"https://api.github.com/repos/jupyter/notebook/comments{/number}","issue_comment_url":"https://api.github.com/repos/jupyter/notebook/issues/comments{/number}","contents_url":"https://api.github.com/repos/jupyter/notebook/contents/{+path}","compare_url":"https://api.github.com/repos/jupyter/notebook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jupyter/notebook/merges","archive_url":"https://api.github.com/repos/jupyter/notebook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jupyter/notebook/downloads","issues_url":"https://api.github.com/repos/jupyter/notebook/issues{/number}","pulls_url":"https://api.github.com/repos/jupyter/notebook/pulls{/number}","milestones_url":"https://api.github.com/repos/jupyter/notebook/milestones{/number}","notifications_url":"https://api.github.com/repos/jupyter/notebook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jupyter/notebook/labels{/name}","releases_url":"https://api.github.com/repos/jupyter/notebook/releases{/id}","deployments_url":"https://api.github.com/repos/jupyter/notebook/deployments","created_at":"2015-04-09T06:58:03Z","updated_at":"2016-03-30T22:08:45Z","pushed_at":"2016-03-30T23:30:57Z","git_url":"git://github.com/jupyter/notebook.git","ssh_url":"git@github.com:jupyter/notebook.git","clone_url":"https://github.com/jupyter/notebook.git","svn_url":"https://github.com/jupyter/notebook","homepage":"https://jupyter-notebook.readthedocs.org/","size":27670,"stargazers_count":877,"watchers_count":877,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":293,"mirror_url":null,"open_issues_count":309,"forks":293,"open_issues":309,"watchers":877,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jupyter/notebook/pulls/1279"},"html":{"href":"https://github.com/jupyter/notebook/pull/1279"},"issue":{"href":"https://api.github.com/repos/jupyter/notebook/issues/1279"},"comments":{"href":"https://api.github.com/repos/jupyter/notebook/issues/1279/comments"},"review_comments":{"href":"https://api.github.com/repos/jupyter/notebook/pulls/1279/comments"},"review_comment":{"href":"https://api.github.com/repos/jupyter/notebook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jupyter/notebook/pulls/1279/commits"},"statuses":{"href":"https://api.github.com/repos/jupyter/notebook/statuses/9f9bc69e9bc6bdbaaa983cf0fb21335527a77f28"}}}}