{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/strong-arc/issues/1363","labels_url":"https://api.github.com/repos/strongloop/strong-arc/issues/1363/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/strong-arc/issues/1363/comments","events_url":"https://api.github.com/repos/strongloop/strong-arc/issues/1363/events","html_url":"https://github.com/strongloop/strong-arc/pull/1363","id":88827116,"number":1363,"title":"use global jQuery and d3 in tracing modules","user":{"login":"rmg","id":17978,"avatar_url":"https://avatars.githubusercontent.com/u/17978?v=3","gravatar_id":"","url":"https://api.github.com/users/rmg","html_url":"https://github.com/rmg","followers_url":"https://api.github.com/users/rmg/followers","following_url":"https://api.github.com/users/rmg/following{/other_user}","gists_url":"https://api.github.com/users/rmg/gists{/gist_id}","starred_url":"https://api.github.com/users/rmg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmg/subscriptions","organizations_url":"https://api.github.com/users/rmg/orgs","repos_url":"https://api.github.com/users/rmg/repos","events_url":"https://api.github.com/users/rmg/events{/privacy}","received_events_url":"https://api.github.com/users/rmg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/strong-arc/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"seanbrookes","id":1751524,"avatar_url":"https://avatars.githubusercontent.com/u/1751524?v=3","gravatar_id":"","url":"https://api.github.com/users/seanbrookes","html_url":"https://github.com/seanbrookes","followers_url":"https://api.github.com/users/seanbrookes/followers","following_url":"https://api.github.com/users/seanbrookes/following{/other_user}","gists_url":"https://api.github.com/users/seanbrookes/gists{/gist_id}","starred_url":"https://api.github.com/users/seanbrookes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanbrookes/subscriptions","organizations_url":"https://api.github.com/users/seanbrookes/orgs","repos_url":"https://api.github.com/users/seanbrookes/repos","events_url":"https://api.github.com/users/seanbrookes/events{/privacy}","received_events_url":"https://api.github.com/users/seanbrookes/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-06-16T20:05:09Z","updated_at":"2015-06-16T21:04:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/strongloop/strong-arc/pulls/1363","html_url":"https://github.com/strongloop/strong-arc/pull/1363","diff_url":"https://github.com/strongloop/strong-arc/pull/1363.diff","patch_url":"https://github.com/strongloop/strong-arc/pull/1363.patch"},"body":"Tell browserify to use stub modules whenever it sees require('jquery')\r\nor require('d3'). The stubs it uses are simple wrappers that export\r\nwindow.jQuery and window.d3, respectively.\r\n\r\nThis allows them to use the globally loaded versions of those libraries\r\ninstead of bundling and using their own versions.\r\n\r\n/cc @sam-github @Setogit "},"comment":{"url":"https://api.github.com/repos/strongloop/strong-arc/issues/comments/112569480","html_url":"https://github.com/strongloop/strong-arc/pull/1363#issuecomment-112569480","issue_url":"https://api.github.com/repos/strongloop/strong-arc/issues/1363","id":112569480,"user":{"login":"rmg","id":17978,"avatar_url":"https://avatars.githubusercontent.com/u/17978?v=3","gravatar_id":"","url":"https://api.github.com/users/rmg","html_url":"https://github.com/rmg","followers_url":"https://api.github.com/users/rmg/followers","following_url":"https://api.github.com/users/rmg/following{/other_user}","gists_url":"https://api.github.com/users/rmg/gists{/gist_id}","starred_url":"https://api.github.com/users/rmg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmg/subscriptions","organizations_url":"https://api.github.com/users/rmg/orgs","repos_url":"https://api.github.com/users/rmg/repos","events_url":"https://api.github.com/users/rmg/events{/privacy}","received_events_url":"https://api.github.com/users/rmg/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T21:04:28Z","updated_at":"2015-06-16T21:04:28Z","body":"@seanbrookes @ritch I haven't actually tested this, but the end result of injecting a different version of d3 and jQuery than the modules expect will be the same as deleting them entirely from the other modules."}}