{"action":"created","issue":{"url":"https://api.github.com/repos/daniel-nagy/md-data-table/issues/121","labels_url":"https://api.github.com/repos/daniel-nagy/md-data-table/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/daniel-nagy/md-data-table/issues/121/comments","events_url":"https://api.github.com/repos/daniel-nagy/md-data-table/issues/121/events","html_url":"https://github.com/daniel-nagy/md-data-table/issues/121","id":104827084,"number":121,"title":"Browserify Support","user":{"login":"brownish","id":4207745,"avatar_url":"https://avatars.githubusercontent.com/u/4207745?v=3","gravatar_id":"","url":"https://api.github.com/users/brownish","html_url":"https://github.com/brownish","followers_url":"https://api.github.com/users/brownish/followers","following_url":"https://api.github.com/users/brownish/following{/other_user}","gists_url":"https://api.github.com/users/brownish/gists{/gist_id}","starred_url":"https://api.github.com/users/brownish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brownish/subscriptions","organizations_url":"https://api.github.com/users/brownish/orgs","repos_url":"https://api.github.com/users/brownish/repos","events_url":"https://api.github.com/users/brownish/events{/privacy}","received_events_url":"https://api.github.com/users/brownish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-04T04:00:39Z","updated_at":"2015-09-04T23:18:34Z","closed_at":null,"body":"I would love to see support for browserify as I can't for the life of me get it to work with it.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/daniel-nagy/md-data-table/issues/comments/137876828","html_url":"https://github.com/daniel-nagy/md-data-table/issues/121#issuecomment-137876828","issue_url":"https://api.github.com/repos/daniel-nagy/md-data-table/issues/121","id":137876828,"user":{"login":"brownish","id":4207745,"avatar_url":"https://avatars.githubusercontent.com/u/4207745?v=3","gravatar_id":"","url":"https://api.github.com/users/brownish","html_url":"https://github.com/brownish","followers_url":"https://api.github.com/users/brownish/followers","following_url":"https://api.github.com/users/brownish/following{/other_user}","gists_url":"https://api.github.com/users/brownish/gists{/gist_id}","starred_url":"https://api.github.com/users/brownish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brownish/subscriptions","organizations_url":"https://api.github.com/users/brownish/orgs","repos_url":"https://api.github.com/users/brownish/repos","events_url":"https://api.github.com/users/brownish/events{/privacy}","received_events_url":"https://api.github.com/users/brownish/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T23:18:34Z","updated_at":"2015-09-04T23:18:34Z","body":"I think that first module-checking code is just there so you dont need to rebuild for bower or npm or whatever. I believe you can use one grunt task to build and publish to bower and another to publish to npm so each one has a corresponding dist/md-data-table.js without needing the check. For the `require('dist/md-data-table');` to work in the index.js `dist/md-data-table` needs to export something browserify can read.\r\n\r\nIf it doesn't have a `module.exports = asdf;` in the file browserify/node wont know what to do with it (I think)."}}