{"action":"created","issue":{"url":"https://api.github.com/repos/andyearnshaw/Intl.js/issues/218","repository_url":"https://api.github.com/repos/andyearnshaw/Intl.js","labels_url":"https://api.github.com/repos/andyearnshaw/Intl.js/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/andyearnshaw/Intl.js/issues/218/comments","events_url":"https://api.github.com/repos/andyearnshaw/Intl.js/issues/218/events","html_url":"https://github.com/andyearnshaw/Intl.js/issues/218","id":172799999,"number":218,"title":"Requirejs and polyfill service","user":{"login":"lpproulx","id":1503865,"avatar_url":"https://avatars.githubusercontent.com/u/1503865?v=3","gravatar_id":"","url":"https://api.github.com/users/lpproulx","html_url":"https://github.com/lpproulx","followers_url":"https://api.github.com/users/lpproulx/followers","following_url":"https://api.github.com/users/lpproulx/following{/other_user}","gists_url":"https://api.github.com/users/lpproulx/gists{/gist_id}","starred_url":"https://api.github.com/users/lpproulx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpproulx/subscriptions","organizations_url":"https://api.github.com/users/lpproulx/orgs","repos_url":"https://api.github.com/users/lpproulx/repos","events_url":"https://api.github.com/users/lpproulx/events{/privacy}","received_events_url":"https://api.github.com/users/lpproulx/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-23T20:35:11Z","updated_at":"2016-08-24T13:30:43Z","closed_at":"2016-08-24T13:30:43Z","body":"Hi,\r\n\r\nI'm trying to use the polyfill service with requireJS but i'm getting the error: 'IntlPolyfill' is undefined. The error happen because it's trying to do __addLocaleData on IntPolyfill variable which is never set when using AMD.\r\n\r\nHere is a simple [jsfiddle](https://jsfiddle.net/Lu5jk7ux/2/) to reproduce the problem. \r\n\r\nIs it supported or maybe i'm missing something?\r\n\r\nThank you\r\n"},"comment":{"url":"https://api.github.com/repos/andyearnshaw/Intl.js/issues/comments/242063925","html_url":"https://github.com/andyearnshaw/Intl.js/issues/218#issuecomment-242063925","issue_url":"https://api.github.com/repos/andyearnshaw/Intl.js/issues/218","id":242063925,"user":{"login":"caridy","id":38969,"avatar_url":"https://avatars.githubusercontent.com/u/38969?v=3","gravatar_id":"","url":"https://api.github.com/users/caridy","html_url":"https://github.com/caridy","followers_url":"https://api.github.com/users/caridy/followers","following_url":"https://api.github.com/users/caridy/following{/other_user}","gists_url":"https://api.github.com/users/caridy/gists{/gist_id}","starred_url":"https://api.github.com/users/caridy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caridy/subscriptions","organizations_url":"https://api.github.com/users/caridy/orgs","repos_url":"https://api.github.com/users/caridy/repos","events_url":"https://api.github.com/users/caridy/events{/privacy}","received_events_url":"https://api.github.com/users/caridy/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T13:30:43Z","updated_at":"2016-08-24T13:30:43Z","body":"oh, if that's the case, you can generate the url dynamically, (e.g.: https://cdn.polyfill.io/v2/polyfill.min.js?features=Intl.~locale.fr), use AMD to evaluate the code and wait for it to finish, but don't use `IntlPolyfill` in your code at all. when AMD module gets evaluated, the new Intl and the new locale information will be added when needed, otherwise, the browser will provide you with anything you need."}}
{"actor":{"display_login":"caridy"}}