GitHub PullRequestReviewCommentEvent at 2014-03-24 19:48:23
Repository: emscripten
Actor: kripken
Payload: {"comment":{"url":"https://api.github.com/repos/kripken/emscripten/pulls/comments/10902443","id":10902443,"diff_hunk":"@@ -182,8 +184,19 @@ var LibraryGLFW = {\n       }\n \n       event.preventDefault();\n-      //DOM and glfw have the same button codes\n-      Runtime.dynCall('vii', GLFW.mouseButtonFunc, [event['button'], status]);\n+\n+      //DOM and glfw have different button codes\n+      var eventButton = event['button'];\n+      if (eventButton > 0) {\n+        if (eventButton == 1) {\n+          eventButton = 2;\n+        }\n+        else {","path":"src/library_glfw.js","position":24,"original_position":24,"commit_id":"ec28ff3cd7ba334f6e5e0aac17e04b8389e70fa6","original_commit_id":"ec28ff3cd7ba334f6e5e0aac17e04b8389e70fa6","user":{"login":"kripken","id":173661,"avatar_url":"https://avatars.githubusercontent.com/u/173661?","gravatar_id":"cb9f8cd8da97fa3a92e46ebe576e8050","url":"https://api.github.com/users/kripken","html_url":"https://github.com/kripken","followers_url":"https://api.github.com/users/kripken/followers","following_url":"https://api.github.com/users/kripken/following{/other_user}","gists_url":"https://api.github.com/users/kripken/gists{/gist_id}","starred_url":"https://api.github.com/users/kripken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kripken/subscriptions","organizations_url":"https://api.github.com/users/kripken/orgs","repos_url":"https://api.github.com/users/kripken/repos","events_url":"https://api.github.com/users/kripken/events{/privacy}","received_events_url":"https://api.github.com/users/kripken/received_events","type":"User","site_admin":false},"body":"should be on previous line `} else {`","created_at":"2014-03-24T19:48:23Z","updated_at":"2014-03-24T19:48:23Z","html_url":"https://github.com/kripken/emscripten/pull/2246#discussion_r10902443","pull_request_url":"https://api.github.com/repos/kripken/emscripten/pulls/2246","_links":{"self":{"href":"https://api.github.com/repos/kripken/emscripten/pulls/comments/10902443"},"html":{"href":"https://github.com/kripken/emscripten/pull/2246#discussion_r10902443"},"pull_request":{"href":"https://api.github.com/repos/kripken/emscripten/pulls/2246"}}}}