{"action":"created","issue":{"url":"https://api.github.com/repos/benfred/venn.js/issues/73","repository_url":"https://api.github.com/repos/benfred/venn.js","labels_url":"https://api.github.com/repos/benfred/venn.js/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/benfred/venn.js/issues/73/comments","events_url":"https://api.github.com/repos/benfred/venn.js/issues/73/events","html_url":"https://github.com/benfred/venn.js/issues/73","id":163730692,"number":73,"title":"module support","user":{"login":"parauchf","id":71116,"avatar_url":"https://avatars.githubusercontent.com/u/71116?v=3","gravatar_id":"","url":"https://api.github.com/users/parauchf","html_url":"https://github.com/parauchf","followers_url":"https://api.github.com/users/parauchf/followers","following_url":"https://api.github.com/users/parauchf/following{/other_user}","gists_url":"https://api.github.com/users/parauchf/gists{/gist_id}","starred_url":"https://api.github.com/users/parauchf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parauchf/subscriptions","organizations_url":"https://api.github.com/users/parauchf/orgs","repos_url":"https://api.github.com/users/parauchf/repos","events_url":"https://api.github.com/users/parauchf/events{/privacy}","received_events_url":"https://api.github.com/users/parauchf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-04T18:48:46Z","updated_at":"2016-08-07T22:47:17Z","closed_at":null,"body":"I would like to implement this package, but seems like it is looking for D3 as a global.  This makes it a bit awkward to use in projects using some kind of module loader.  From what I understand, D3 detects the presence of an AMD loader and if found, refrains from creating a global (https://github.com/d3/d3/issues/1693).\r\n\r\nWould you be interested in a PR to make this work with AMD style projects?"},"comment":{"url":"https://api.github.com/repos/benfred/venn.js/issues/comments/238113481","html_url":"https://github.com/benfred/venn.js/issues/73#issuecomment-238113481","issue_url":"https://api.github.com/repos/benfred/venn.js/issues/73","id":238113481,"user":{"login":"benfred","id":69536,"avatar_url":"https://avatars.githubusercontent.com/u/69536?v=3","gravatar_id":"","url":"https://api.github.com/users/benfred","html_url":"https://github.com/benfred","followers_url":"https://api.github.com/users/benfred/followers","following_url":"https://api.github.com/users/benfred/following{/other_user}","gists_url":"https://api.github.com/users/benfred/gists{/gist_id}","starred_url":"https://api.github.com/users/benfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benfred/subscriptions","organizations_url":"https://api.github.com/users/benfred/orgs","repos_url":"https://api.github.com/users/benfred/repos","events_url":"https://api.github.com/users/benfred/events{/privacy}","received_events_url":"https://api.github.com/users/benfred/received_events","type":"User","site_admin":false},"created_at":"2016-08-07T22:47:17Z","updated_at":"2016-08-07T22:47:17Z","body":"So - I've enabled d3 4.0 support in this commit: https://github.com/benfred/venn.js/commit/a308b391aece84cda82f8ae58521251f3021f97c . I'm hoping that this will also work with amd modules now since I'm importing d3 rather than assuming a global is defined.  Let me know =)"}}
{"actor":{"display_login":"benfred"}}