{"action":"created","issue":{"url":"https://api.github.com/repos/foretagsplatsen/numbro/issues/79","labels_url":"https://api.github.com/repos/foretagsplatsen/numbro/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/foretagsplatsen/numbro/issues/79/comments","events_url":"https://api.github.com/repos/foretagsplatsen/numbro/issues/79/events","html_url":"https://github.com/foretagsplatsen/numbro/issues/79","id":99047247,"number":79,"title":"browserify attempts to load all language files","user":{"login":"clayzermk1","id":1075015,"avatar_url":"https://avatars.githubusercontent.com/u/1075015?v=3","gravatar_id":"","url":"https://api.github.com/users/clayzermk1","html_url":"https://github.com/clayzermk1","followers_url":"https://api.github.com/users/clayzermk1/followers","following_url":"https://api.github.com/users/clayzermk1/following{/other_user}","gists_url":"https://api.github.com/users/clayzermk1/gists{/gist_id}","starred_url":"https://api.github.com/users/clayzermk1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clayzermk1/subscriptions","organizations_url":"https://api.github.com/users/clayzermk1/orgs","repos_url":"https://api.github.com/users/clayzermk1/repos","events_url":"https://api.github.com/users/clayzermk1/events{/privacy}","received_events_url":"https://api.github.com/users/clayzermk1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-04T19:51:02Z","updated_at":"2015-08-10T16:50:15Z","closed_at":null,"body":"The patch in #66 automatically loads all language files for any commonjs scenario, [browserify](https://github.com/substack/node-browserify) included.\r\n\r\nWhile I can't really complain about doing this on the server with Node.js, doing this in the browser adds unnecessary bloat that I can't easily remove.\r\n\r\nPossible solutions off the top of my head:\r\n* provide a way to specify an array of languages which defaults to all languages on Node\r\n* create special logic for Node within the commonjs scope\r\n\r\nAs a side effect, this might help with #70."},"comment":{"url":"https://api.github.com/repos/foretagsplatsen/numbro/issues/comments/129524268","html_url":"https://github.com/foretagsplatsen/numbro/issues/79#issuecomment-129524268","issue_url":"https://api.github.com/repos/foretagsplatsen/numbro/issues/79","id":129524268,"user":{"login":"BenjaminVanRyseghem","id":407891,"avatar_url":"https://avatars.githubusercontent.com/u/407891?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjaminVanRyseghem","html_url":"https://github.com/BenjaminVanRyseghem","followers_url":"https://api.github.com/users/BenjaminVanRyseghem/followers","following_url":"https://api.github.com/users/BenjaminVanRyseghem/following{/other_user}","gists_url":"https://api.github.com/users/BenjaminVanRyseghem/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjaminVanRyseghem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjaminVanRyseghem/subscriptions","organizations_url":"https://api.github.com/users/BenjaminVanRyseghem/orgs","repos_url":"https://api.github.com/users/BenjaminVanRyseghem/repos","events_url":"https://api.github.com/users/BenjaminVanRyseghem/events{/privacy}","received_events_url":"https://api.github.com/users/BenjaminVanRyseghem/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T16:50:15Z","updated_at":"2015-08-10T16:50:15Z","body":"yep, it looks like this whole part was a hack to have it out, but it feels like it's time to have a look at it now :smile:\r\n\r\nyour API proposal sounds good to me :smile: , if you want to propose a PR going in this direction, that will be awesome :smile: "}}