{"action":"created","issue":{"url":"https://api.github.com/repos/Khan/live-editor/issues/347","labels_url":"https://api.github.com/repos/Khan/live-editor/issues/347/labels{/name}","comments_url":"https://api.github.com/repos/Khan/live-editor/issues/347/comments","events_url":"https://api.github.com/repos/Khan/live-editor/issues/347/events","html_url":"https://github.com/Khan/live-editor/pull/347","id":93174396,"number":347,"title":"Avoid undo avalanche on number-scrubbing","user":{"login":"ChrisJPhoenix","id":5169046,"avatar_url":"https://avatars.githubusercontent.com/u/5169046?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisJPhoenix","html_url":"https://github.com/ChrisJPhoenix","followers_url":"https://api.github.com/users/ChrisJPhoenix/followers","following_url":"https://api.github.com/users/ChrisJPhoenix/following{/other_user}","gists_url":"https://api.github.com/users/ChrisJPhoenix/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisJPhoenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisJPhoenix/subscriptions","organizations_url":"https://api.github.com/users/ChrisJPhoenix/orgs","repos_url":"https://api.github.com/users/ChrisJPhoenix/repos","events_url":"https://api.github.com/users/ChrisJPhoenix/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisJPhoenix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-06T02:51:09Z","updated_at":"2015-07-15T20:09:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Khan/live-editor/pulls/347","html_url":"https://github.com/Khan/live-editor/pull/347","diff_url":"https://github.com/Khan/live-editor/pull/347.diff","patch_url":"https://github.com/Khan/live-editor/pull/347.patch"},"body":"First-draft code. \r\nTest doesn't work; see comments. \r\nUgliness if user hits a key while scrubbing; see comments. \r\nNot implemented for color picker yet.\r\n"},"comment":{"url":"https://api.github.com/repos/Khan/live-editor/issues/comments/121731683","html_url":"https://github.com/Khan/live-editor/pull/347#issuecomment-121731683","issue_url":"https://api.github.com/repos/Khan/live-editor/issues/347","id":121731683,"user":{"login":"kevinb7","id":1044413,"avatar_url":"https://avatars.githubusercontent.com/u/1044413?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinb7","html_url":"https://github.com/kevinb7","followers_url":"https://api.github.com/users/kevinb7/followers","following_url":"https://api.github.com/users/kevinb7/following{/other_user}","gists_url":"https://api.github.com/users/kevinb7/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinb7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinb7/subscriptions","organizations_url":"https://api.github.com/users/kevinb7/orgs","repos_url":"https://api.github.com/users/kevinb7/repos","events_url":"https://api.github.com/users/kevinb7/events{/privacy}","received_events_url":"https://api.github.com/users/kevinb7/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T20:09:45Z","updated_at":"2015-07-15T20:09:45Z","body":"> Is there a way to tell the editor \"Run synchronously all the queued changes\"?\r\n\r\nThere is.  Change the callback to `it` to take a `done` parameter.  I update my previous comment b/c I forgot about it.  The mocha docs are pretty sparse, but they have some examples: http://mochajs.org/#asynchronous-code.\r\n\r\n> Did you want me to change my source branch for this project, or just for future work on other features?\r\n\r\nI find it makes things easier from a contributor's perspective.  It was more of a suggestion for the future pull requests.  I think you'd have to start a new pull request if you tried to do it for this feature."}}