{"action":"created","issue":{"url":"https://api.github.com/repos/Shopify/dashing/issues/571","labels_url":"https://api.github.com/repos/Shopify/dashing/issues/571/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/dashing/issues/571/comments","events_url":"https://api.github.com/repos/Shopify/dashing/issues/571/events","html_url":"https://github.com/Shopify/dashing/issues/571","id":81555995,"number":571,"title":"What is the order of events?","user":{"login":"contentfree","id":10958,"avatar_url":"https://avatars.githubusercontent.com/u/10958?v=3","gravatar_id":"","url":"https://api.github.com/users/contentfree","html_url":"https://github.com/contentfree","followers_url":"https://api.github.com/users/contentfree/followers","following_url":"https://api.github.com/users/contentfree/following{/other_user}","gists_url":"https://api.github.com/users/contentfree/gists{/gist_id}","starred_url":"https://api.github.com/users/contentfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contentfree/subscriptions","organizations_url":"https://api.github.com/users/contentfree/orgs","repos_url":"https://api.github.com/users/contentfree/repos","events_url":"https://api.github.com/users/contentfree/events{/privacy}","received_events_url":"https://api.github.com/users/contentfree/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-27T18:00:15Z","updated_at":"2015-05-27T21:39:04Z","closed_at":null,"body":"I'm trying to figure out where \"do once\" initialization code should go for a widget. Intuitively, I thought that ready would fire before onData. However, it seems that we're regularly seeing onData before ready?\r\n\r\nIs there a documented order somewhere? Is it: constructor, onData, ready, onData, onData … onData?"},"comment":{"url":"https://api.github.com/repos/Shopify/dashing/issues/comments/106086820","html_url":"https://github.com/Shopify/dashing/issues/571#issuecomment-106086820","issue_url":"https://api.github.com/repos/Shopify/dashing/issues/571","id":106086820,"user":{"login":"contentfree","id":10958,"avatar_url":"https://avatars.githubusercontent.com/u/10958?v=3","gravatar_id":"","url":"https://api.github.com/users/contentfree","html_url":"https://github.com/contentfree","followers_url":"https://api.github.com/users/contentfree/followers","following_url":"https://api.github.com/users/contentfree/following{/other_user}","gists_url":"https://api.github.com/users/contentfree/gists{/gist_id}","starred_url":"https://api.github.com/users/contentfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contentfree/subscriptions","organizations_url":"https://api.github.com/users/contentfree/orgs","repos_url":"https://api.github.com/users/contentfree/repos","events_url":"https://api.github.com/users/contentfree/events{/privacy}","received_events_url":"https://api.github.com/users/contentfree/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T21:39:04Z","updated_at":"2015-05-27T21:39:04Z","body":"Thanks. I did end up going with something similar. (Should your `@deferred.done` been `@libraryLoading.done`?)"}}