{"action":"created","issue":{"url":"https://api.github.com/repos/foretagsplatsen/numbro/issues/148","repository_url":"https://api.github.com/repos/foretagsplatsen/numbro","labels_url":"https://api.github.com/repos/foretagsplatsen/numbro/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/foretagsplatsen/numbro/issues/148/comments","events_url":"https://api.github.com/repos/foretagsplatsen/numbro/issues/148/events","html_url":"https://github.com/foretagsplatsen/numbro/issues/148","id":145715238,"number":148,"title":"Loading languages with requirejs","user":{"login":"rudym87","id":7871032,"avatar_url":"https://avatars.githubusercontent.com/u/7871032?v=3","gravatar_id":"","url":"https://api.github.com/users/rudym87","html_url":"https://github.com/rudym87","followers_url":"https://api.github.com/users/rudym87/followers","following_url":"https://api.github.com/users/rudym87/following{/other_user}","gists_url":"https://api.github.com/users/rudym87/gists{/gist_id}","starred_url":"https://api.github.com/users/rudym87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudym87/subscriptions","organizations_url":"https://api.github.com/users/rudym87/orgs","repos_url":"https://api.github.com/users/rudym87/repos","events_url":"https://api.github.com/users/rudym87/events{/privacy}","received_events_url":"https://api.github.com/users/rudym87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-04T15:18:53Z","updated_at":"2016-04-04T18:16:39Z","closed_at":null,"body":"How can I load a language file in an AMD environment?\r\nCurrently trying to load languages.js or any single language file gives a `No define call for...` error."},"comment":{"url":"https://api.github.com/repos/foretagsplatsen/numbro/issues/comments/205428813","html_url":"https://github.com/foretagsplatsen/numbro/issues/148#issuecomment-205428813","issue_url":"https://api.github.com/repos/foretagsplatsen/numbro/issues/148","id":205428813,"user":{"login":"mmollick","id":2349344,"avatar_url":"https://avatars.githubusercontent.com/u/2349344?v=3","gravatar_id":"","url":"https://api.github.com/users/mmollick","html_url":"https://github.com/mmollick","followers_url":"https://api.github.com/users/mmollick/followers","following_url":"https://api.github.com/users/mmollick/following{/other_user}","gists_url":"https://api.github.com/users/mmollick/gists{/gist_id}","starred_url":"https://api.github.com/users/mmollick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmollick/subscriptions","organizations_url":"https://api.github.com/users/mmollick/orgs","repos_url":"https://api.github.com/users/mmollick/repos","events_url":"https://api.github.com/users/mmollick/events{/privacy}","received_events_url":"https://api.github.com/users/mmollick/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T18:16:38Z","updated_at":"2016-04-04T18:16:38Z","body":"It doesn't look like there's any existing AMD support, just CommonJS and basic script tag support.\r\nIt probably wouldn't be too difficult to add in AMD support. Though I haven't used requirejs in quite a while so I can't recall what all is needed, I think it's `window.define`."}}