{"action":"opened","issue":{"url":"https://api.github.com/repos/meandmax/lory/issues/126","labels_url":"https://api.github.com/repos/meandmax/lory/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/meandmax/lory/issues/126/comments","events_url":"https://api.github.com/repos/meandmax/lory/issues/126/events","html_url":"https://github.com/meandmax/lory/issues/126","id":118351165,"number":126,"title":"Browserify require","user":{"login":"baptooo","id":1875595,"avatar_url":"https://avatars.githubusercontent.com/u/1875595?v=3","gravatar_id":"","url":"https://api.github.com/users/baptooo","html_url":"https://github.com/baptooo","followers_url":"https://api.github.com/users/baptooo/followers","following_url":"https://api.github.com/users/baptooo/following{/other_user}","gists_url":"https://api.github.com/users/baptooo/gists{/gist_id}","starred_url":"https://api.github.com/users/baptooo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baptooo/subscriptions","organizations_url":"https://api.github.com/users/baptooo/orgs","repos_url":"https://api.github.com/users/baptooo/repos","events_url":"https://api.github.com/users/baptooo/events{/privacy}","received_events_url":"https://api.github.com/users/baptooo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-23T10:11:03Z","updated_at":"2015-11-23T10:11:03Z","closed_at":null,"body":"Hello @meandmax, I have noticed an issue when importing the library on browserify.\r\n\r\nAs the \"main\" property in package.json refers to \"dist/lory.js\", there is a wrapper on the library apparently and the module exported looks like this,\r\n\r\n    {\r\n        __esModule: true,\r\n        lory: function() { ... }\r\n    }\r\n\r\nI moved back to v1.2.6 which works fine actually.\r\n\r\nThank you very much !"}}