{"action":"created","issue":{"url":"https://api.github.com/repos/rgbkrk/metrics-graphics-jupyter/issues/1","labels_url":"https://api.github.com/repos/rgbkrk/metrics-graphics-jupyter/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/rgbkrk/metrics-graphics-jupyter/issues/1/comments","events_url":"https://api.github.com/repos/rgbkrk/metrics-graphics-jupyter/issues/1/events","html_url":"https://github.com/rgbkrk/metrics-graphics-jupyter/issues/1","id":60243301,"number":1,"title":"Unable to require metricsgraphics","user":{"login":"rgbkrk","id":836375,"avatar_url":"https://avatars.githubusercontent.com/u/836375?v=3","gravatar_id":"","url":"https://api.github.com/users/rgbkrk","html_url":"https://github.com/rgbkrk","followers_url":"https://api.github.com/users/rgbkrk/followers","following_url":"https://api.github.com/users/rgbkrk/following{/other_user}","gists_url":"https://api.github.com/users/rgbkrk/gists{/gist_id}","starred_url":"https://api.github.com/users/rgbkrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgbkrk/subscriptions","organizations_url":"https://api.github.com/users/rgbkrk/orgs","repos_url":"https://api.github.com/users/rgbkrk/repos","events_url":"https://api.github.com/users/rgbkrk/events{/privacy}","received_events_url":"https://api.github.com/users/rgbkrk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rgbkrk/metrics-graphics-jupyter/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-08T06:10:36Z","updated_at":"2015-03-10T18:15:14Z","closed_at":null,"body":"Requiring metricsgraphics is a bit awkward as it does a `require` (through `define`) on relative resources for D3 and jQuery.\r\n\r\n![screen shot 2015-03-08 at 12 08 03 am](https://cloud.githubusercontent.com/assets/836375/6544821/419a2ebe-c527-11e4-8ca9-d0d52958cb44.png)\r\n\r\nIt ends up trying to pull it from `/static/d3.js`. If I change the vendorized metricsgraphics.js to do a different configuration for where d3 comes from:\r\n\r\n```JavaScript\r\nrequire.config({paths: {d3: \"https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.0/d3.min\"}});\r\n```\r\n\r\nThen d3 doesn't get loaded properly.\r\n\r\nAny tips @jdfreder?"},"comment":{"url":"https://api.github.com/repos/rgbkrk/metrics-graphics-jupyter/issues/comments/78114081","html_url":"https://github.com/rgbkrk/metrics-graphics-jupyter/issues/1#issuecomment-78114081","issue_url":"https://api.github.com/repos/rgbkrk/metrics-graphics-jupyter/issues/1","id":78114081,"user":{"login":"jdfreder","id":3292874,"avatar_url":"https://avatars.githubusercontent.com/u/3292874?v=3","gravatar_id":"","url":"https://api.github.com/users/jdfreder","html_url":"https://github.com/jdfreder","followers_url":"https://api.github.com/users/jdfreder/followers","following_url":"https://api.github.com/users/jdfreder/following{/other_user}","gists_url":"https://api.github.com/users/jdfreder/gists{/gist_id}","starred_url":"https://api.github.com/users/jdfreder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdfreder/subscriptions","organizations_url":"https://api.github.com/users/jdfreder/orgs","repos_url":"https://api.github.com/users/jdfreder/repos","events_url":"https://api.github.com/users/jdfreder/events{/privacy}","received_events_url":"https://api.github.com/users/jdfreder/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T18:15:14Z","updated_at":"2015-03-10T18:15:14Z","body":"You are the CORs master, could it be a CORs problem?  Seems to work here: http://jsfiddle.net/kmaxb9t3/1/ .\r\n"}}