{"action":"created","comment":{"url":"https://api.github.com/repos/mathjax/MathJax-RespEq/pulls/comments/64451994","id":64451994,"diff_hunk":"@@ -610,100 +645,104 @@ MathJax.Hub.Register.StartupHook('Sre Ready', function() {\n       }\n     },\n     Startup: function() {\n-      SETTINGS['responsive'] = true;\n+      var Complexity = MathJax.Extension.SemanticComplexity;\n+      if (Complexity) Complexity.Dependant(Assistive);\n       Assistive.addDefaults();\n-      Assistive.Enable();\n+      this.createMenu();\n+    },\n+    \n+    createMenu: function () {\n+      MathJax.Hub.Register.StartupHook('End Extensions', function () {\n+        Assistive[SETTINGS.explorer === false ? \"Disable\" : \"Enable\"]();\n+        MathJax.Hub.Startup.signal.Post('Explorer Ready');\n+        MathJax.Hub.Register.StartupHook('MathMenu Ready', function () {\n+          COOKIE = MathJax.Menu.cookie;\n+          if (SETTINGS.explorer == null) SETTINGS.explorer = true;\n+          var Switch = function(menu) {\n+            Assistive[SETTINGS.explorer ? \"Enable\" : \"Disable\"](true,true);\n+            MathJax.Menu.saveCookie();\n+          };","path":"extensions/Assistive-Explore.js","position":125,"original_position":125,"commit_id":"ec92cb72a46bfde3141f3d7c6e23c8ca6d4aacaf","original_commit_id":"ec92cb72a46bfde3141f3d7c6e23c8ca6d4aacaf","user":{"login":"dpvc","id":432782,"avatar_url":"https://avatars.githubusercontent.com/u/432782?v=3","gravatar_id":"","url":"https://api.github.com/users/dpvc","html_url":"https://github.com/dpvc","followers_url":"https://api.github.com/users/dpvc/followers","following_url":"https://api.github.com/users/dpvc/following{/other_user}","gists_url":"https://api.github.com/users/dpvc/gists{/gist_id}","starred_url":"https://api.github.com/users/dpvc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpvc/subscriptions","organizations_url":"https://api.github.com/users/dpvc/orgs","repos_url":"https://api.github.com/users/dpvc/repos","events_url":"https://api.github.com/users/dpvc/events{/privacy}","received_events_url":"https://api.github.com/users/dpvc/received_events","type":"User","site_admin":false},"body":"The menu action is just to call the `Enable()` or `Disable()` function (informing it to reprocess the page, if needed, and that this action is being done from a menu).  Then we save the menu cookie, in case other extensions were enabled/disabled along the way.","created_at":"2016-05-24T18:48:29Z","updated_at":"2016-05-24T18:48:29Z","html_url":"https://github.com/mathjax/MathJax-RespEq/pull/112#discussion_r64451994","pull_request_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/pulls/112","_links":{"self":{"href":"https://api.github.com/repos/mathjax/MathJax-RespEq/pulls/comments/64451994"},"html":{"href":"https://github.com/mathjax/MathJax-RespEq/pull/112#discussion_r64451994"},"pull_request":{"href":"https://api.github.com/repos/mathjax/MathJax-RespEq/pulls/112"}}},"pull_request":{"url":"https://api.github.com/repos/mathjax/MathJax-RespEq/pulls/112","id":71062706,"html_url":"https://github.com/mathjax/MathJax-RespEq/pull/112","diff_url":"https://github.com/mathjax/MathJax-RespEq/pull/112.diff","patch_url":"https://github.com/mathjax/MathJax-RespEq/pull/112.patch","issue_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/issues/112","number":112,"state":"open","locked":false,"title":"Patch to Volker's extension to fix timing issues, etc.","user":{"login":"dpvc","id":432782,"avatar_url":"https://avatars.githubusercontent.com/u/432782?v=3","gravatar_id":"","url":"https://api.github.com/users/dpvc","html_url":"https://github.com/dpvc","followers_url":"https://api.github.com/users/dpvc/followers","following_url":"https://api.github.com/users/dpvc/following{/other_user}","gists_url":"https://api.github.com/users/dpvc/gists{/gist_id}","starred_url":"https://api.github.com/users/dpvc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpvc/subscriptions","organizations_url":"https://api.github.com/users/dpvc/orgs","repos_url":"https://api.github.com/users/dpvc/repos","events_url":"https://api.github.com/users/dpvc/events{/privacy}","received_events_url":"https://api.github.com/users/dpvc/received_events","type":"User","site_admin":false},"body":"Patch to Volker's extension to fix timing issues, prevent extra reprocess, handle configuration and menu cookies better, etc.\r\n\r\nI will write more about this tomorrow.  I'm going to be unavailable the rest of the day, but wanted to get this started so you could look at it before Wednesday, if you wanted.  Some restructuring was needed in order to make some parts of the timing work better.  As I say, I'll explain it further soon.","created_at":"2016-05-23T13:39:49Z","updated_at":"2016-05-24T18:48:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b4c26a1544a415d79686a8a4edfb90e58e6c8ce9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/pulls/112/commits","review_comments_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/pulls/112/comments","review_comment_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/issues/112/comments","statuses_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/statuses/ec92cb72a46bfde3141f3d7c6e23c8ca6d4aacaf","head":{"label":"mathjax:extension-patch","ref":"extension-patch","sha":"ec92cb72a46bfde3141f3d7c6e23c8ca6d4aacaf","user":{"login":"mathjax","id":252187,"avatar_url":"https://avatars.githubusercontent.com/u/252187?v=3","gravatar_id":"","url":"https://api.github.com/users/mathjax","html_url":"https://github.com/mathjax","followers_url":"https://api.github.com/users/mathjax/followers","following_url":"https://api.github.com/users/mathjax/following{/other_user}","gists_url":"https://api.github.com/users/mathjax/gists{/gist_id}","starred_url":"https://api.github.com/users/mathjax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathjax/subscriptions","organizations_url":"https://api.github.com/users/mathjax/orgs","repos_url":"https://api.github.com/users/mathjax/repos","events_url":"https://api.github.com/users/mathjax/events{/privacy}","received_events_url":"https://api.github.com/users/mathjax/received_events","type":"Organization","site_admin":false},"repo":{"id":35887174,"name":"MathJax-RespEq","full_name":"mathjax/MathJax-RespEq","owner":{"login":"mathjax","id":252187,"avatar_url":"https://avatars.githubusercontent.com/u/252187?v=3","gravatar_id":"","url":"https://api.github.com/users/mathjax","html_url":"https://github.com/mathjax","followers_url":"https://api.github.com/users/mathjax/followers","following_url":"https://api.github.com/users/mathjax/following{/other_user}","gists_url":"https://api.github.com/users/mathjax/gists{/gist_id}","starred_url":"https://api.github.com/users/mathjax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathjax/subscriptions","organizations_url":"https://api.github.com/users/mathjax/orgs","repos_url":"https://api.github.com/users/mathjax/repos","events_url":"https://api.github.com/users/mathjax/events{/privacy}","received_events_url":"https://api.github.com/users/mathjax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mathjax/MathJax-RespEq","description":"A MathJax extension for responsive equations (with demos)","fork":false,"url":"https://api.github.com/repos/mathjax/MathJax-RespEq","forks_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/forks","keys_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/teams","hooks_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/hooks","issue_events_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/issues/events{/number}","events_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/events","assignees_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/assignees{/user}","branches_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/branches{/branch}","tags_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/tags","blobs_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/git/refs{/sha}","trees_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/statuses/{sha}","languages_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/languages","stargazers_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/stargazers","contributors_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/contributors","subscribers_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/subscribers","subscription_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/subscription","commits_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/commits{/sha}","git_commits_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/git/commits{/sha}","comments_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/comments{/number}","issue_comment_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/issues/comments{/number}","contents_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/contents/{+path}","compare_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/merges","archive_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/downloads","issues_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/issues{/number}","pulls_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/pulls{/number}","milestones_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/milestones{/number}","notifications_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/labels{/name}","releases_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/releases{/id}","deployments_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/deployments","created_at":"2015-05-19T14:25:58Z","updated_at":"2016-05-13T20:36:01Z","pushed_at":"2016-05-24T13:02:20Z","git_url":"git://github.com/mathjax/MathJax-RespEq.git","ssh_url":"git@github.com:mathjax/MathJax-RespEq.git","clone_url":"https://github.com/mathjax/MathJax-RespEq.git","svn_url":"https://github.com/mathjax/MathJax-RespEq","homepage":null,"size":746,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":17,"forks":2,"open_issues":17,"watchers":10,"default_branch":"master"}},"base":{"label":"mathjax:lightweight_extension","ref":"lightweight_extension","sha":"8ad4a8c1d53e026429e1cb7c4a0d18de68388219","user":{"login":"mathjax","id":252187,"avatar_url":"https://avatars.githubusercontent.com/u/252187?v=3","gravatar_id":"","url":"https://api.github.com/users/mathjax","html_url":"https://github.com/mathjax","followers_url":"https://api.github.com/users/mathjax/followers","following_url":"https://api.github.com/users/mathjax/following{/other_user}","gists_url":"https://api.github.com/users/mathjax/gists{/gist_id}","starred_url":"https://api.github.com/users/mathjax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathjax/subscriptions","organizations_url":"https://api.github.com/users/mathjax/orgs","repos_url":"https://api.github.com/users/mathjax/repos","events_url":"https://api.github.com/users/mathjax/events{/privacy}","received_events_url":"https://api.github.com/users/mathjax/received_events","type":"Organization","site_admin":false},"repo":{"id":35887174,"name":"MathJax-RespEq","full_name":"mathjax/MathJax-RespEq","owner":{"login":"mathjax","id":252187,"avatar_url":"https://avatars.githubusercontent.com/u/252187?v=3","gravatar_id":"","url":"https://api.github.com/users/mathjax","html_url":"https://github.com/mathjax","followers_url":"https://api.github.com/users/mathjax/followers","following_url":"https://api.github.com/users/mathjax/following{/other_user}","gists_url":"https://api.github.com/users/mathjax/gists{/gist_id}","starred_url":"https://api.github.com/users/mathjax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathjax/subscriptions","organizations_url":"https://api.github.com/users/mathjax/orgs","repos_url":"https://api.github.com/users/mathjax/repos","events_url":"https://api.github.com/users/mathjax/events{/privacy}","received_events_url":"https://api.github.com/users/mathjax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mathjax/MathJax-RespEq","description":"A MathJax extension for responsive equations (with demos)","fork":false,"url":"https://api.github.com/repos/mathjax/MathJax-RespEq","forks_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/forks","keys_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/teams","hooks_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/hooks","issue_events_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/issues/events{/number}","events_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/events","assignees_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/assignees{/user}","branches_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/branches{/branch}","tags_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/tags","blobs_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/git/refs{/sha}","trees_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/statuses/{sha}","languages_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/languages","stargazers_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/stargazers","contributors_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/contributors","subscribers_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/subscribers","subscription_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/subscription","commits_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/commits{/sha}","git_commits_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/git/commits{/sha}","comments_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/comments{/number}","issue_comment_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/issues/comments{/number}","contents_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/contents/{+path}","compare_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/merges","archive_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/downloads","issues_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/issues{/number}","pulls_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/pulls{/number}","milestones_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/milestones{/number}","notifications_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/labels{/name}","releases_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/releases{/id}","deployments_url":"https://api.github.com/repos/mathjax/MathJax-RespEq/deployments","created_at":"2015-05-19T14:25:58Z","updated_at":"2016-05-13T20:36:01Z","pushed_at":"2016-05-24T13:02:20Z","git_url":"git://github.com/mathjax/MathJax-RespEq.git","ssh_url":"git@github.com:mathjax/MathJax-RespEq.git","clone_url":"https://github.com/mathjax/MathJax-RespEq.git","svn_url":"https://github.com/mathjax/MathJax-RespEq","homepage":null,"size":746,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":17,"forks":2,"open_issues":17,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mathjax/MathJax-RespEq/pulls/112"},"html":{"href":"https://github.com/mathjax/MathJax-RespEq/pull/112"},"issue":{"href":"https://api.github.com/repos/mathjax/MathJax-RespEq/issues/112"},"comments":{"href":"https://api.github.com/repos/mathjax/MathJax-RespEq/issues/112/comments"},"review_comments":{"href":"https://api.github.com/repos/mathjax/MathJax-RespEq/pulls/112/comments"},"review_comment":{"href":"https://api.github.com/repos/mathjax/MathJax-RespEq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mathjax/MathJax-RespEq/pulls/112/commits"},"statuses":{"href":"https://api.github.com/repos/mathjax/MathJax-RespEq/statuses/ec92cb72a46bfde3141f3d7c6e23c8ca6d4aacaf"}}}}
{"actor":{"display_login":"dpvc"}}