{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/7137","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/7137/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/7137/comments","events_url":"https://api.github.com/repos/appium/appium/issues/7137/events","html_url":"https://github.com/appium/appium/pull/7137","id":186509723,"number":7137,"title":"Update js example in touch-actions.md","user":{"login":"isnifer","id":1788245,"avatar_url":"https://avatars.githubusercontent.com/u/1788245?v=3","gravatar_id":"","url":"https://api.github.com/users/isnifer","html_url":"https://github.com/isnifer","followers_url":"https://api.github.com/users/isnifer/followers","following_url":"https://api.github.com/users/isnifer/following{/other_user}","gists_url":"https://api.github.com/users/isnifer/gists{/gist_id}","starred_url":"https://api.github.com/users/isnifer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isnifer/subscriptions","organizations_url":"https://api.github.com/users/isnifer/orgs","repos_url":"https://api.github.com/users/isnifer/repos","events_url":"https://api.github.com/users/isnifer/events{/privacy}","received_events_url":"https://api.github.com/users/isnifer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2016-11-01T11:11:34Z","updated_at":"2016-11-04T23:19:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/appium/appium/pulls/7137","html_url":"https://github.com/appium/appium/pull/7137","diff_url":"https://github.com/appium/appium/pull/7137.diff","patch_url":"https://github.com/appium/appium/pull/7137.patch"},"body":"## Proposed changes\r\n\r\nFix js example of scroll\r\n\r\n## Types of changes\r\n\r\n- [x] Bugfix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)\r\n\r\n## Checklist\r\n\r\n- [x] I have read the [CONTRIBUTING](/CONTRIBUTING.md) doc\r\n- [x] I have signed the [CLA](https://docs.google.com/forms/d/1lOfXRw_0VCk7gYzjj4WLetGu7yelDVo5LWh0z7pGftE/viewform)\r\n- [ ] Lint and unit tests pass locally with my changes\r\n- [ ] I have added tests that prove my fix is effective or that my feature works\r\n- [ ] I have added necessary documentation (if appropriate)\r\n- [ ] Any dependent changes have been merged and published in downstream modules\r\n\r\n## Further comments\r\n\r\nCurrent example for js throws an error like:\r\n```bash\r\n{ [Error: undefined is not an object (evaluating 'direction[0].toUpperCase')] message: 'undefined is not an object (evaluating \\'direction[0].toUpperCase\\')', type: 'RuntimeError', seleniumStack: { message: 'An error occurred while executing user supplied JavaScript.', orgStatusMessage: 'undefined is not an object (evaluating \\'direction[0].toUpperCase\\')', status: 17, type: 'JavaScriptError' } }\r\n```\r\n\r\n### Reviewers: @imurchie, @jlipps, ...\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/258570769","html_url":"https://github.com/appium/appium/pull/7137#issuecomment-258570769","issue_url":"https://api.github.com/repos/appium/appium/issues/7137","id":258570769,"user":{"login":"imurchie","id":2614354,"avatar_url":"https://avatars.githubusercontent.com/u/2614354?v=3","gravatar_id":"","url":"https://api.github.com/users/imurchie","html_url":"https://github.com/imurchie","followers_url":"https://api.github.com/users/imurchie/followers","following_url":"https://api.github.com/users/imurchie/following{/other_user}","gists_url":"https://api.github.com/users/imurchie/gists{/gist_id}","starred_url":"https://api.github.com/users/imurchie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imurchie/subscriptions","organizations_url":"https://api.github.com/users/imurchie/orgs","repos_url":"https://api.github.com/users/imurchie/repos","events_url":"https://api.github.com/users/imurchie/events{/privacy}","received_events_url":"https://api.github.com/users/imurchie/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T23:19:35Z","updated_at":"2016-11-04T23:19:35Z","body":"Cool. Can you take the array out of your update, and then we'll get this in! Thanks, and sorry for the long-winded confusion."}}
{"actor":{"display_login":"imurchie"}}