{"action":"created","issue":{"url":"https://api.github.com/repos/konsumer/Protracker/issues/1","labels_url":"https://api.github.com/repos/konsumer/Protracker/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/konsumer/Protracker/issues/1/comments","events_url":"https://api.github.com/repos/konsumer/Protracker/issues/1/events","html_url":"https://github.com/konsumer/Protracker/pull/1","id":55636405,"number":1,"title":"Update README.md","user":{"login":"kryger","id":1566028,"avatar_url":"https://avatars.githubusercontent.com/u/1566028?v=3","gravatar_id":"","url":"https://api.github.com/users/kryger","html_url":"https://github.com/kryger","followers_url":"https://api.github.com/users/kryger/followers","following_url":"https://api.github.com/users/kryger/following{/other_user}","gists_url":"https://api.github.com/users/kryger/gists{/gist_id}","starred_url":"https://api.github.com/users/kryger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kryger/subscriptions","organizations_url":"https://api.github.com/users/kryger/orgs","repos_url":"https://api.github.com/users/kryger/repos","events_url":"https://api.github.com/users/kryger/events{/privacy}","received_events_url":"https://api.github.com/users/kryger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-27T16:02:03Z","updated_at":"2015-01-28T10:28:28Z","closed_at":"2015-01-27T23:24:46Z","pull_request":{"url":"https://api.github.com/repos/konsumer/Protracker/pulls/1","html_url":"https://github.com/konsumer/Protracker/pull/1","diff_url":"https://github.com/konsumer/Protracker/pull/1.diff","patch_url":"https://github.com/konsumer/Protracker/pull/1.patch"},"body":"Should've been `mod.setautostart(true)` either way but `mod.play()` seems to be more suitable."},"comment":{"url":"https://api.github.com/repos/konsumer/Protracker/issues/comments/71812139","html_url":"https://github.com/konsumer/Protracker/pull/1#issuecomment-71812139","issue_url":"https://api.github.com/repos/konsumer/Protracker/issues/1","id":71812139,"user":{"login":"konsumer","id":83857,"avatar_url":"https://avatars.githubusercontent.com/u/83857?v=3","gravatar_id":"","url":"https://api.github.com/users/konsumer","html_url":"https://github.com/konsumer","followers_url":"https://api.github.com/users/konsumer/followers","following_url":"https://api.github.com/users/konsumer/following{/other_user}","gists_url":"https://api.github.com/users/konsumer/gists{/gist_id}","starred_url":"https://api.github.com/users/konsumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konsumer/subscriptions","organizations_url":"https://api.github.com/users/konsumer/orgs","repos_url":"https://api.github.com/users/konsumer/repos","events_url":"https://api.github.com/users/konsumer/events{/privacy}","received_events_url":"https://api.github.com/users/konsumer/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T10:28:28Z","updated_at":"2015-01-28T10:28:28Z","body":"autostart can also be used as a variable (`mod.autostart=true`) so I fixed my original typo and used this, instead. I use autostart because mod-loading is async without a callback, so `.play()` won't work unless it's already loaded.  See [here](http://konsumer.github.io/Protracker/). This library was made by firehawk@haxor.fi, packaged & demoed by me. Eventually, I'd like to refactor it to be a bit neater, and allow things like this:\r\n\r\n```javascript\r\nvar mod = new Protracker('mods/mykingdom2.mod');\r\nmod.on('loaded', function(){\r\n  mod.play();\r\n});\r\n```\r\n\r\nI'd also like to eventually get rid of the setters & getters (really not needed in javascript.) and make it a bit more single-purpose (load a single mod, respond to it's events.) \r\n"}}