{"action":"created","issue":{"url":"https://api.github.com/repos/guardian/scribe-plugin-noting/issues/128","labels_url":"https://api.github.com/repos/guardian/scribe-plugin-noting/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/guardian/scribe-plugin-noting/issues/128/comments","events_url":"https://api.github.com/repos/guardian/scribe-plugin-noting/issues/128/events","html_url":"https://github.com/guardian/scribe-plugin-noting/pull/128","id":79478159,"number":128,"title":"Fix VFocus prev()","user":{"login":"robinedman","id":1936213,"avatar_url":"https://avatars.githubusercontent.com/u/1936213?v=3","gravatar_id":"","url":"https://api.github.com/users/robinedman","html_url":"https://github.com/robinedman","followers_url":"https://api.github.com/users/robinedman/followers","following_url":"https://api.github.com/users/robinedman/following{/other_user}","gists_url":"https://api.github.com/users/robinedman/gists{/gist_id}","starred_url":"https://api.github.com/users/robinedman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinedman/subscriptions","organizations_url":"https://api.github.com/users/robinedman/orgs","repos_url":"https://api.github.com/users/robinedman/repos","events_url":"https://api.github.com/users/robinedman/events{/privacy}","received_events_url":"https://api.github.com/users/robinedman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-22T14:36:05Z","updated_at":"2015-05-22T14:44:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/guardian/scribe-plugin-noting/pulls/128","html_url":"https://github.com/guardian/scribe-plugin-noting/pull/128","diff_url":"https://github.com/guardian/scribe-plugin-noting/pull/128.diff","patch_url":"https://github.com/guardian/scribe-plugin-noting/pull/128.patch"},"body":"Fixes #127 \r\n\r\nThe algorithm used wasn't quite correct. In some cases (such as #127) it'd skip nodes. Amended the test for `prev()` so it tests this case.\r\n\r\n## How to test\r\nAll unit and integration tests within the noting plugin pass (locally at least) so should be relatively safe. It'd still be worth doing a bit of regression testing to see that notes/flags/corrects works as expected."},"comment":{"url":"https://api.github.com/repos/guardian/scribe-plugin-noting/issues/comments/104678355","html_url":"https://github.com/guardian/scribe-plugin-noting/pull/128#issuecomment-104678355","issue_url":"https://api.github.com/repos/guardian/scribe-plugin-noting/issues/128","id":104678355,"user":{"login":"jamespamplin","id":2298529,"avatar_url":"https://avatars.githubusercontent.com/u/2298529?v=3","gravatar_id":"","url":"https://api.github.com/users/jamespamplin","html_url":"https://github.com/jamespamplin","followers_url":"https://api.github.com/users/jamespamplin/followers","following_url":"https://api.github.com/users/jamespamplin/following{/other_user}","gists_url":"https://api.github.com/users/jamespamplin/gists{/gist_id}","starred_url":"https://api.github.com/users/jamespamplin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamespamplin/subscriptions","organizations_url":"https://api.github.com/users/jamespamplin/orgs","repos_url":"https://api.github.com/users/jamespamplin/repos","events_url":"https://api.github.com/users/jamespamplin/events{/privacy}","received_events_url":"https://api.github.com/users/jamespamplin/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T14:44:50Z","updated_at":"2015-05-22T14:44:50Z","body":":+1: code looks good"}}