{"action":"created","issue":{"url":"https://api.github.com/repos/marionettejs/backbone.marionette/issues/2074","labels_url":"https://api.github.com/repos/marionettejs/backbone.marionette/issues/2074/labels{/name}","comments_url":"https://api.github.com/repos/marionettejs/backbone.marionette/issues/2074/comments","events_url":"https://api.github.com/repos/marionettejs/backbone.marionette/issues/2074/events","html_url":"https://github.com/marionettejs/backbone.marionette/issues/2074","id":48885392,"number":2074,"title":"Marionette cannot work with Browserify","user":{"login":"commenthol","id":2604482,"avatar_url":"https://avatars.githubusercontent.com/u/2604482?v=3","gravatar_id":"","url":"https://api.github.com/users/commenthol","html_url":"https://github.com/commenthol","followers_url":"https://api.github.com/users/commenthol/followers","following_url":"https://api.github.com/users/commenthol/following{/other_user}","gists_url":"https://api.github.com/users/commenthol/gists{/gist_id}","starred_url":"https://api.github.com/users/commenthol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/commenthol/subscriptions","organizations_url":"https://api.github.com/users/commenthol/orgs","repos_url":"https://api.github.com/users/commenthol/repos","events_url":"https://api.github.com/users/commenthol/events{/privacy}","received_events_url":"https://api.github.com/users/commenthol/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-11-15T08:10:44Z","updated_at":"2015-12-27T21:27:43Z","closed_at":"2014-11-16T11:19:28Z","body":"See thread on [Stackoverflow](http://stackoverflow.com/questions/21070737/cant-get-marionette-working-with-browserify).\r\n\r\nMarionette does not work with Browserify as jQuery, Wreqr and BabySitter is currently not attached to Backbone. \r\n\r\nThe piece of code in charge...\r\n\r\n**src/build/marionette.core.js Line 8**\r\n\r\n```javascript\r\n  } else if (typeof exports !== 'undefined') {\r\n    var Backbone = require('backbone');\r\n    var _ = require('underscore');\r\n    var Wreqr = require('backbone.wreqr');\r\n    var BabySitter = require('backbone.babysitter');\r\n    /* Wreqr and Babysitter are required but not handled to Marionette as \r\n        Backbone.Wreqr, Backbone.BabySitter */\r\n    module.exports = factory(root, Backbone, _); \r\n  } else {\r\n```\r\n\r\nWill issue a PR to fix this behaviour.\r\n"},"comment":{"url":"https://api.github.com/repos/marionettejs/backbone.marionette/issues/comments/167442523","html_url":"https://github.com/marionettejs/backbone.marionette/issues/2074#issuecomment-167442523","issue_url":"https://api.github.com/repos/marionettejs/backbone.marionette/issues/2074","id":167442523,"user":{"login":"ad-lebedev","id":3065260,"avatar_url":"https://avatars.githubusercontent.com/u/3065260?v=3","gravatar_id":"","url":"https://api.github.com/users/ad-lebedev","html_url":"https://github.com/ad-lebedev","followers_url":"https://api.github.com/users/ad-lebedev/followers","following_url":"https://api.github.com/users/ad-lebedev/following{/other_user}","gists_url":"https://api.github.com/users/ad-lebedev/gists{/gist_id}","starred_url":"https://api.github.com/users/ad-lebedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ad-lebedev/subscriptions","organizations_url":"https://api.github.com/users/ad-lebedev/orgs","repos_url":"https://api.github.com/users/ad-lebedev/repos","events_url":"https://api.github.com/users/ad-lebedev/events{/privacy}","received_events_url":"https://api.github.com/users/ad-lebedev/received_events","type":"User","site_admin":false},"created_at":"2015-12-27T21:27:43Z","updated_at":"2015-12-27T21:27:43Z","body":"Sorry for disturbing! =(\r\nI found the reason of this error. It was not a marionette issue, but just a problem of my browserity gulp task.\r\nI use ```bower-resolve``` to determine packages for browserification based on bower.json file content. But there was no backbone.wreqr and backbone.babysitter there.\r\n\r\nI'm sorry, one more time!"}}