{"action":"created","issue":{"url":"https://api.github.com/repos/jasondavies/d3-cloud/issues/100","repository_url":"https://api.github.com/repos/jasondavies/d3-cloud","labels_url":"https://api.github.com/repos/jasondavies/d3-cloud/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/jasondavies/d3-cloud/issues/100/comments","events_url":"https://api.github.com/repos/jasondavies/d3-cloud/issues/100/events","html_url":"https://github.com/jasondavies/d3-cloud/issues/100","id":169154035,"number":100,"title":"Cant' get it to work with Browserify","user":{"login":"pdechery","id":3358219,"avatar_url":"https://avatars.githubusercontent.com/u/3358219?v=3","gravatar_id":"","url":"https://api.github.com/users/pdechery","html_url":"https://github.com/pdechery","followers_url":"https://api.github.com/users/pdechery/followers","following_url":"https://api.github.com/users/pdechery/following{/other_user}","gists_url":"https://api.github.com/users/pdechery/gists{/gist_id}","starred_url":"https://api.github.com/users/pdechery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdechery/subscriptions","organizations_url":"https://api.github.com/users/pdechery/orgs","repos_url":"https://api.github.com/users/pdechery/repos","events_url":"https://api.github.com/users/pdechery/events{/privacy}","received_events_url":"https://api.github.com/users/pdechery/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-03T15:02:31Z","updated_at":"2016-08-03T18:37:03Z","closed_at":"2016-08-03T18:37:03Z","body":"Hi,\r\n\r\nI'm struggling to get this nice plugin to work with my app.\r\n\r\nI've installed it with npm and My browserify dependencies are set up like so:\r\n```\r\njQuery = require('jquery')\r\nrequire('../vendor/jquery.fullpage.min')\r\n\r\nrequire('perfect-scrollbar/jquery')(jQuery)\r\n\r\nglobal.d3 = require('../vendor/d3')\r\n\r\nd3tip_module = require('d3-tip')\r\nd3tip_module(d3)\r\n\r\nd3cloud_module = require('d3-cloud')\r\nd3cloud_module(d3)\r\n\r\n```\r\nWhen I run nothing appears and I get a 'd3.layout.cloud is not a function' in console.\r\n\r\nAny help would be much appreciated.\r\n\r\nPierre"},"comment":{"url":"https://api.github.com/repos/jasondavies/d3-cloud/issues/comments/237329345","html_url":"https://github.com/jasondavies/d3-cloud/issues/100#issuecomment-237329345","issue_url":"https://api.github.com/repos/jasondavies/d3-cloud/issues/100","id":237329345,"user":{"login":"jasondavies","id":31223,"avatar_url":"https://avatars.githubusercontent.com/u/31223?v=3","gravatar_id":"","url":"https://api.github.com/users/jasondavies","html_url":"https://github.com/jasondavies","followers_url":"https://api.github.com/users/jasondavies/followers","following_url":"https://api.github.com/users/jasondavies/following{/other_user}","gists_url":"https://api.github.com/users/jasondavies/gists{/gist_id}","starred_url":"https://api.github.com/users/jasondavies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasondavies/subscriptions","organizations_url":"https://api.github.com/users/jasondavies/orgs","repos_url":"https://api.github.com/users/jasondavies/repos","events_url":"https://api.github.com/users/jasondavies/events{/privacy}","received_events_url":"https://api.github.com/users/jasondavies/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T18:37:03Z","updated_at":"2016-08-03T18:37:03Z","body":"I’m not sure why you are initialising it using `d3cloud_module(d3)` (and presumably later with `d3.layout.cloud`, perhaps you should start with the sample in `examples/browserify.js`?  Using `d3.layout.cloud` is the non-browserify way of doing things; with browserify it’s a standalone module."}}
{"actor":{"display_login":"jasondavies"}}