{"action":"created","issue":{"url":"https://api.github.com/repos/plone/mockup/issues/482","labels_url":"https://api.github.com/repos/plone/mockup/issues/482/labels{/name}","comments_url":"https://api.github.com/repos/plone/mockup/issues/482/comments","events_url":"https://api.github.com/repos/plone/mockup/issues/482/events","html_url":"https://github.com/plone/mockup/issues/482","id":68300273,"number":482,"title":"i18n can't find any element because its executed before loading the dom","user":{"login":"bloodbare","id":486913,"avatar_url":"https://avatars.githubusercontent.com/u/486913?v=3","gravatar_id":"","url":"https://api.github.com/users/bloodbare","html_url":"https://github.com/bloodbare","followers_url":"https://api.github.com/users/bloodbare/followers","following_url":"https://api.github.com/users/bloodbare/following{/other_user}","gists_url":"https://api.github.com/users/bloodbare/gists{/gist_id}","starred_url":"https://api.github.com/users/bloodbare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bloodbare/subscriptions","organizations_url":"https://api.github.com/users/bloodbare/orgs","repos_url":"https://api.github.com/users/bloodbare/repos","events_url":"https://api.github.com/users/bloodbare/events{/privacy}","received_events_url":"https://api.github.com/users/bloodbare/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-14T08:16:07Z","updated_at":"2015-04-15T22:59:29Z","closed_at":null,"body":"On https://github.com/plone/mockup/blob/master/mockup/js/i18n.js#L21 it causes problems because the dom is not accessible when is executed the i18n module. We should wrapp on document ready of some other idea.\r\n\r\n@vangheem "},"comment":{"url":"https://api.github.com/repos/plone/mockup/issues/comments/93592153","html_url":"https://github.com/plone/mockup/issues/482#issuecomment-93592153","issue_url":"https://api.github.com/repos/plone/mockup/issues/482","id":93592153,"user":{"login":"vangheem","id":524413,"avatar_url":"https://avatars.githubusercontent.com/u/524413?v=3","gravatar_id":"","url":"https://api.github.com/users/vangheem","html_url":"https://github.com/vangheem","followers_url":"https://api.github.com/users/vangheem/followers","following_url":"https://api.github.com/users/vangheem/following{/other_user}","gists_url":"https://api.github.com/users/vangheem/gists{/gist_id}","starred_url":"https://api.github.com/users/vangheem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vangheem/subscriptions","organizations_url":"https://api.github.com/users/vangheem/orgs","repos_url":"https://api.github.com/users/vangheem/repos","events_url":"https://api.github.com/users/vangheem/events{/privacy}","received_events_url":"https://api.github.com/users/vangheem/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T22:59:29Z","updated_at":"2015-04-15T22:59:29Z","body":"https://github.com/plone/mockup/commit/c56e3956e203c54c1f1e6c19c64fd4b9d0a13fd3 switched a bunch to load on initialization instead of using singleton... Does that help?"}}