{"action":"created","issue":{"url":"https://api.github.com/repos/lemieux/marionette.behaviors/issues/4","labels_url":"https://api.github.com/repos/lemieux/marionette.behaviors/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/lemieux/marionette.behaviors/issues/4/comments","events_url":"https://api.github.com/repos/lemieux/marionette.behaviors/issues/4/events","html_url":"https://github.com/lemieux/marionette.behaviors/pull/4","id":57535720,"number":4,"title":"UMD","user":{"login":"dannytranlx","id":1034297,"avatar_url":"https://avatars.githubusercontent.com/u/1034297?v=3","gravatar_id":"","url":"https://api.github.com/users/dannytranlx","html_url":"https://github.com/dannytranlx","followers_url":"https://api.github.com/users/dannytranlx/followers","following_url":"https://api.github.com/users/dannytranlx/following{/other_user}","gists_url":"https://api.github.com/users/dannytranlx/gists{/gist_id}","starred_url":"https://api.github.com/users/dannytranlx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannytranlx/subscriptions","organizations_url":"https://api.github.com/users/dannytranlx/orgs","repos_url":"https://api.github.com/users/dannytranlx/repos","events_url":"https://api.github.com/users/dannytranlx/events{/privacy}","received_events_url":"https://api.github.com/users/dannytranlx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-12T23:20:33Z","updated_at":"2015-02-13T17:09:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lemieux/marionette.behaviors/pulls/4","html_url":"https://github.com/lemieux/marionette.behaviors/pull/4","diff_url":"https://github.com/lemieux/marionette.behaviors/pull/4.diff","patch_url":"https://github.com/lemieux/marionette.behaviors/pull/4.patch"},"body":"Hi Marc,\r\n\r\nI want to use your sets of behaviors on a RequireJS project. I added some wrappers. I did test on a CommonJS project and it looks like it is working also for a RequireJS project.\r\n\r\nIs is still WIP because lines 6 to 8 (on lib/index.js) doesn't make sense at all. I am wondering if you could give me a hand to fix this to avoid put hard-coded paths.\r\n\r\nLet me know what do you think!\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/lemieux/marionette.behaviors/issues/comments/74288540","html_url":"https://github.com/lemieux/marionette.behaviors/pull/4#issuecomment-74288540","issue_url":"https://api.github.com/repos/lemieux/marionette.behaviors/issues/4","id":74288540,"user":{"login":"dannytranlx","id":1034297,"avatar_url":"https://avatars.githubusercontent.com/u/1034297?v=3","gravatar_id":"","url":"https://api.github.com/users/dannytranlx","html_url":"https://github.com/dannytranlx","followers_url":"https://api.github.com/users/dannytranlx/followers","following_url":"https://api.github.com/users/dannytranlx/following{/other_user}","gists_url":"https://api.github.com/users/dannytranlx/gists{/gist_id}","starred_url":"https://api.github.com/users/dannytranlx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannytranlx/subscriptions","organizations_url":"https://api.github.com/users/dannytranlx/orgs","repos_url":"https://api.github.com/users/dannytranlx/repos","events_url":"https://api.github.com/users/dannytranlx/events{/privacy}","received_events_url":"https://api.github.com/users/dannytranlx/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T17:09:15Z","updated_at":"2015-02-13T17:09:15Z","body":"I was able to use this lib as AMD package with this config:\r\n\r\n```\r\npackages: [\r\n        {\r\n            name: 'marionette-behaviors',\r\n            location: '../bower_components/marionette.behaviors/lib',\r\n            main: 'index'\r\n        }\r\n    ],\r\n```\r\n\r\nNot sure why it doesn't work with the regular path object:\r\n```\r\npaths: {\r\n        // Bower components\r\n       [...]\r\n        'marionette-behaviors': '../bower_components/marionette.behaviors/lib/index'\r\n}\r\n```\r\n\r\nOh well, it should be ready to merge now. Please take note of the switch of `onShow` to `onRender` for the `bootstrapValidator-behavior`."}}