{"action":"created","issue":{"url":"https://api.github.com/repos/rafaelrinaldi/idle.js/issues/1","labels_url":"https://api.github.com/repos/rafaelrinaldi/idle.js/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/rafaelrinaldi/idle.js/issues/1/comments","events_url":"https://api.github.com/repos/rafaelrinaldi/idle.js/issues/1/events","html_url":"https://github.com/rafaelrinaldi/idle.js/pull/1","id":99205679,"number":1,"title":"Add more functional code","user":{"login":"hugobessaa","id":4073936,"avatar_url":"https://avatars.githubusercontent.com/u/4073936?v=3","gravatar_id":"","url":"https://api.github.com/users/hugobessaa","html_url":"https://github.com/hugobessaa","followers_url":"https://api.github.com/users/hugobessaa/followers","following_url":"https://api.github.com/users/hugobessaa/following{/other_user}","gists_url":"https://api.github.com/users/hugobessaa/gists{/gist_id}","starred_url":"https://api.github.com/users/hugobessaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugobessaa/subscriptions","organizations_url":"https://api.github.com/users/hugobessaa/orgs","repos_url":"https://api.github.com/users/hugobessaa/repos","events_url":"https://api.github.com/users/hugobessaa/events{/privacy}","received_events_url":"https://api.github.com/users/hugobessaa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-05T13:33:38Z","updated_at":"2015-08-05T14:14:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rafaelrinaldi/idle.js/pulls/1","html_url":"https://github.com/rafaelrinaldi/idle.js/pull/1","diff_url":"https://github.com/rafaelrinaldi/idle.js/pull/1.diff","patch_url":"https://github.com/rafaelrinaldi/idle.js/pull/1.patch"},"body":"*Do not merge yet*\r\n\r\nHey, this PR reimplements idle.js with a more functional code.\r\n\r\nI didn't get rid of `prototype` yet, but I was able to minimize impure and stateful functions to bare minimum.\r\n\r\nWhen I have more time I can go through the code and explain to you the design decisions.\r\n\r\nTo test it, I created a `examples/simple.js` with this content:\r\n```javascript\r\nvar Idle = require('../index');\r\n\r\nvar idle = new Idle({\r\n  preset: 'bullets',\r\n  moonwalk: true\r\n});\r\n\r\nidle.start();\r\n```"},"comment":{"url":"https://api.github.com/repos/rafaelrinaldi/idle.js/issues/comments/128011566","html_url":"https://github.com/rafaelrinaldi/idle.js/pull/1#issuecomment-128011566","issue_url":"https://api.github.com/repos/rafaelrinaldi/idle.js/issues/1","id":128011566,"user":{"login":"hugobessaa","id":4073936,"avatar_url":"https://avatars.githubusercontent.com/u/4073936?v=3","gravatar_id":"","url":"https://api.github.com/users/hugobessaa","html_url":"https://github.com/hugobessaa","followers_url":"https://api.github.com/users/hugobessaa/followers","following_url":"https://api.github.com/users/hugobessaa/following{/other_user}","gists_url":"https://api.github.com/users/hugobessaa/gists{/gist_id}","starred_url":"https://api.github.com/users/hugobessaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugobessaa/subscriptions","organizations_url":"https://api.github.com/users/hugobessaa/orgs","repos_url":"https://api.github.com/users/hugobessaa/repos","events_url":"https://api.github.com/users/hugobessaa/events{/privacy}","received_events_url":"https://api.github.com/users/hugobessaa/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T14:14:35Z","updated_at":"2015-08-05T14:14:35Z","body":"Oh, and look: not a single line were added."}}