{"action":"created","issue":{"url":"https://api.github.com/repos/ncannasse/heaps/issues/207","repository_url":"https://api.github.com/repos/ncannasse/heaps","labels_url":"https://api.github.com/repos/ncannasse/heaps/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/ncannasse/heaps/issues/207/comments","events_url":"https://api.github.com/repos/ncannasse/heaps/issues/207/events","html_url":"https://github.com/ncannasse/heaps/pull/207","id":197670408,"number":207,"title":"fix Anim not work when set frames in a later time.","user":{"login":"LouisSong","id":3379069,"avatar_url":"https://avatars.githubusercontent.com/u/3379069?v=3","gravatar_id":"","url":"https://api.github.com/users/LouisSong","html_url":"https://github.com/LouisSong","followers_url":"https://api.github.com/users/LouisSong/followers","following_url":"https://api.github.com/users/LouisSong/following{/other_user}","gists_url":"https://api.github.com/users/LouisSong/gists{/gist_id}","starred_url":"https://api.github.com/users/LouisSong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LouisSong/subscriptions","organizations_url":"https://api.github.com/users/LouisSong/orgs","repos_url":"https://api.github.com/users/LouisSong/repos","events_url":"https://api.github.com/users/LouisSong/events{/privacy}","received_events_url":"https://api.github.com/users/LouisSong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-27T08:58:18Z","updated_at":"2016-12-30T11:42:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ncannasse/heaps/pulls/207","html_url":"https://github.com/ncannasse/heaps/pull/207","diff_url":"https://github.com/ncannasse/heaps/pull/207.diff","patch_url":"https://github.com/ncannasse/heaps/pull/207.patch"},"body":"create the Anim instance,then set the frames after atlas source loaded in a later time,the frames.length equals 0,\"curFrame %= frames.length\" make curFrame to NaN,so the anim stoped on the first  \r\n frame."},"comment":{"url":"https://api.github.com/repos/ncannasse/heaps/issues/comments/269762417","html_url":"https://github.com/ncannasse/heaps/pull/207#issuecomment-269762417","issue_url":"https://api.github.com/repos/ncannasse/heaps/issues/207","id":269762417,"user":{"login":"ncannasse","id":1022912,"avatar_url":"https://avatars.githubusercontent.com/u/1022912?v=3","gravatar_id":"","url":"https://api.github.com/users/ncannasse","html_url":"https://github.com/ncannasse","followers_url":"https://api.github.com/users/ncannasse/followers","following_url":"https://api.github.com/users/ncannasse/following{/other_user}","gists_url":"https://api.github.com/users/ncannasse/gists{/gist_id}","starred_url":"https://api.github.com/users/ncannasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncannasse/subscriptions","organizations_url":"https://api.github.com/users/ncannasse/orgs","repos_url":"https://api.github.com/users/ncannasse/repos","events_url":"https://api.github.com/users/ncannasse/events{/privacy}","received_events_url":"https://api.github.com/users/ncannasse/received_events","type":"User","site_admin":false},"created_at":"2016-12-30T11:42:36Z","updated_at":"2016-12-30T11:42:36Z","body":"I think in that case the fix should be if( frames.length == 0 ) curFrame = 0 else ...."}}
{"actor":{"display_login":"ncannasse"}}