{"action":"created","issue":{"url":"https://api.github.com/repos/jquense/react-widgets/issues/205","labels_url":"https://api.github.com/repos/jquense/react-widgets/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/jquense/react-widgets/issues/205/comments","events_url":"https://api.github.com/repos/jquense/react-widgets/issues/205/events","html_url":"https://github.com/jquense/react-widgets/issues/205","id":107571898,"number":205,"title":"babelHelpers.classCallCheck is not a function","user":{"login":"jamalneufeld","id":6416083,"avatar_url":"https://avatars.githubusercontent.com/u/6416083?v=3","gravatar_id":"","url":"https://api.github.com/users/jamalneufeld","html_url":"https://github.com/jamalneufeld","followers_url":"https://api.github.com/users/jamalneufeld/followers","following_url":"https://api.github.com/users/jamalneufeld/following{/other_user}","gists_url":"https://api.github.com/users/jamalneufeld/gists{/gist_id}","starred_url":"https://api.github.com/users/jamalneufeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamalneufeld/subscriptions","organizations_url":"https://api.github.com/users/jamalneufeld/orgs","repos_url":"https://api.github.com/users/jamalneufeld/repos","events_url":"https://api.github.com/users/jamalneufeld/events{/privacy}","received_events_url":"https://api.github.com/users/jamalneufeld/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-09-21T18:35:14Z","updated_at":"2015-09-21T20:07:49Z","closed_at":null,"body":"When using browserify to compile the javascript it throws this error:\r\n\r\n`Uncaught TypeError: babelHelpers.classCallCheck is not a function`\r\n\r\nThis happens in the `/lib/util/localizers.js` here:\r\n\r\n    var DateLocalizer = function DateLocalizer(spec) {\r\n      var _this2 = this;\r\n\r\n      babelHelpers.classCallCheck(this, DateLocalizer);"},"comment":{"url":"https://api.github.com/repos/jquense/react-widgets/issues/comments/142094799","html_url":"https://github.com/jquense/react-widgets/issues/205#issuecomment-142094799","issue_url":"https://api.github.com/repos/jquense/react-widgets/issues/205","id":142094799,"user":{"login":"jamalneufeld","id":6416083,"avatar_url":"https://avatars.githubusercontent.com/u/6416083?v=3","gravatar_id":"","url":"https://api.github.com/users/jamalneufeld","html_url":"https://github.com/jamalneufeld","followers_url":"https://api.github.com/users/jamalneufeld/followers","following_url":"https://api.github.com/users/jamalneufeld/following{/other_user}","gists_url":"https://api.github.com/users/jamalneufeld/gists{/gist_id}","starred_url":"https://api.github.com/users/jamalneufeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamalneufeld/subscriptions","organizations_url":"https://api.github.com/users/jamalneufeld/orgs","repos_url":"https://api.github.com/users/jamalneufeld/repos","events_url":"https://api.github.com/users/jamalneufeld/events{/privacy}","received_events_url":"https://api.github.com/users/jamalneufeld/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T20:07:49Z","updated_at":"2015-09-21T20:07:49Z","body":"So if I modify babelHelpers, make babelHelpers and object that is returned with module.exports, then it loads it properly. So yeah, I think it's a UMD issue."}}