{"action":"closed","issue":{"url":"https://api.github.com/repos/wyuenho/backgrid-paginator/issues/42","repository_url":"https://api.github.com/repos/wyuenho/backgrid-paginator","labels_url":"https://api.github.com/repos/wyuenho/backgrid-paginator/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/wyuenho/backgrid-paginator/issues/42/comments","events_url":"https://api.github.com/repos/wyuenho/backgrid-paginator/issues/42/events","html_url":"https://github.com/wyuenho/backgrid-paginator/issues/42","id":105380455,"number":42,"title":"CommonJs better support","user":{"login":"ludoo0d0a","id":294090,"avatar_url":"https://avatars.githubusercontent.com/u/294090?v=3","gravatar_id":"","url":"https://api.github.com/users/ludoo0d0a","html_url":"https://github.com/ludoo0d0a","followers_url":"https://api.github.com/users/ludoo0d0a/followers","following_url":"https://api.github.com/users/ludoo0d0a/following{/other_user}","gists_url":"https://api.github.com/users/ludoo0d0a/gists{/gist_id}","starred_url":"https://api.github.com/users/ludoo0d0a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludoo0d0a/subscriptions","organizations_url":"https://api.github.com/users/ludoo0d0a/orgs","repos_url":"https://api.github.com/users/ludoo0d0a/repos","events_url":"https://api.github.com/users/ludoo0d0a/events{/privacy}","received_events_url":"https://api.github.com/users/ludoo0d0a/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-08T13:29:23Z","updated_at":"2016-04-10T23:44:18Z","closed_at":"2016-04-10T23:44:18Z","body":"I use CommonJs and browserify.\r\ncould apply the same fix  fix made in backgrid in this plugin.\r\nhttps://github.com/wyuenho/backgrid/commit/f8dff5669be6108a06a5717b2d30e1b9217755ea#diff-80977816b141839550e5d7caadfdc00e\r\n\r\nand if you could return object at the end of factory\r\n```js\r\nreturn {Paginator:Paginator , PageHandle:PageHandle};\r\n```\r\n\r\nso that Paginator would be accessible.\r\n\r\n```js\r\nvar Paginator = require('backgrid-paginator').Paginator; //Backgrid.Extension.Paginator\r\n```\r\n\r\nThanks !"}}