GitHub PullRequestReviewCommentEvent at 2014-03-31 15:44:53
Repository: go-di
Actor: hodgestar
Payload: {"comment":{"url":"https://api.github.com/repos/praekelt/go-di/pulls/comments/11121516","id":11121516,"diff_hunk":"@@ -91,7 +114,25 @@ di.quiz.answerwin = function() {\n                     new Choice('skip',$('Skip')),\n                 ],\n                 next: function(choice) {\n-                    return self.next_quiz('race',choice,'thankyou');\n+                    return self.next_quiz('race',choice,'check_deliveryclass');\n+                }\n+            });\n+        });\n+\n+        app.states.add(self.construct_state_name('check_deliveryclass'),function(name) {\n+            if (app.is_delivery_class('ussd')) {\n+                return app.states.create(self.construct_state_name('thankyou'));\n+            } else {\n+                return app.states.create(self.construct_state_name('phonenumber'));\n+            }\n+        });\n+\n+        app.states.add(self.construct_state_name('phonenumber'),function(name) {","path":"src/answerwinquiz.js","position":63,"original_position":63,"commit_id":"d8c9ecd04bba8167a0588f4c7cce3b424388ddbd","original_commit_id":"d8c9ecd04bba8167a0588f4c7cce3b424388ddbd","user":{"login":"hodgestar","id":165551,"avatar_url":"https://avatars.githubusercontent.com/u/165551?","gravatar_id":"337cadae5be17c19e2defb615d7de9f8","url":"https://api.github.com/users/hodgestar","html_url":"https://github.com/hodgestar","followers_url":"https://api.github.com/users/hodgestar/followers","following_url":"https://api.github.com/users/hodgestar/following{/other_user}","gists_url":"https://api.github.com/users/hodgestar/gists{/gist_id}","starred_url":"https://api.github.com/users/hodgestar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hodgestar/subscriptions","organizations_url":"https://api.github.com/users/hodgestar/orgs","repos_url":"https://api.github.com/users/hodgestar/repos","events_url":"https://api.github.com/users/hodgestar/events{/privacy}","received_events_url":"https://api.github.com/users/hodgestar/received_events","type":"User","site_admin":false},"body":"This should perhaps use ``add_question``?","created_at":"2014-03-31T15:44:53Z","updated_at":"2014-03-31T15:44:53Z","html_url":"https://github.com/praekelt/go-di/pull/36#discussion_r11121516","pull_request_url":"https://api.github.com/repos/praekelt/go-di/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/praekelt/go-di/pulls/comments/11121516"},"html":{"href":"https://github.com/praekelt/go-di/pull/36#discussion_r11121516"},"pull_request":{"href":"https://api.github.com/repos/praekelt/go-di/pulls/36"}}}}