{"action":"created","issue":{"url":"https://api.github.com/repos/jsfiddle/jsfiddle-issues/issues/923","repository_url":"https://api.github.com/repos/jsfiddle/jsfiddle-issues","labels_url":"https://api.github.com/repos/jsfiddle/jsfiddle-issues/issues/923/labels{/name}","comments_url":"https://api.github.com/repos/jsfiddle/jsfiddle-issues/issues/923/comments","events_url":"https://api.github.com/repos/jsfiddle/jsfiddle-issues/issues/923/events","html_url":"https://github.com/jsfiddle/jsfiddle-issues/issues/923","id":187532698,"number":923,"title":"regeneratorRuntime not included when using babel","user":{"login":"jimmywarting","id":1148376,"avatar_url":"https://avatars.githubusercontent.com/u/1148376?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmywarting","html_url":"https://github.com/jimmywarting","followers_url":"https://api.github.com/users/jimmywarting/followers","following_url":"https://api.github.com/users/jimmywarting/following{/other_user}","gists_url":"https://api.github.com/users/jimmywarting/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmywarting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmywarting/subscriptions","organizations_url":"https://api.github.com/users/jimmywarting/orgs","repos_url":"https://api.github.com/users/jimmywarting/repos","events_url":"https://api.github.com/users/jimmywarting/events{/privacy}","received_events_url":"https://api.github.com/users/jimmywarting/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-06T00:17:06Z","updated_at":"2016-11-21T10:35:14Z","closed_at":"2016-11-21T10:35:14Z","body":"Would be nice to have it included... Right now some browser supports generators, but with babel this just breaks my code (works better without it)\r\n```\r\nUncaught ReferenceError: regeneratorRuntime is not defined(…)\r\n```"},"comment":{"url":"https://api.github.com/repos/jsfiddle/jsfiddle-issues/issues/comments/261901405","html_url":"https://github.com/jsfiddle/jsfiddle-issues/issues/923#issuecomment-261901405","issue_url":"https://api.github.com/repos/jsfiddle/jsfiddle-issues/issues/923","id":261901405,"user":{"login":"oskarkrawczyk","id":34213,"avatar_url":"https://avatars.githubusercontent.com/u/34213?v=3","gravatar_id":"","url":"https://api.github.com/users/oskarkrawczyk","html_url":"https://github.com/oskarkrawczyk","followers_url":"https://api.github.com/users/oskarkrawczyk/followers","following_url":"https://api.github.com/users/oskarkrawczyk/following{/other_user}","gists_url":"https://api.github.com/users/oskarkrawczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/oskarkrawczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oskarkrawczyk/subscriptions","organizations_url":"https://api.github.com/users/oskarkrawczyk/orgs","repos_url":"https://api.github.com/users/oskarkrawczyk/repos","events_url":"https://api.github.com/users/oskarkrawczyk/events{/privacy}","received_events_url":"https://api.github.com/users/oskarkrawczyk/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T10:35:14Z","updated_at":"2016-11-21T10:35:14Z","body":"Had a deeper look into this, and it doesn't seem like a quick fix:\r\n\r\n- `transform-regenerator` requires `transform-runtime`\r\n- `transform-runtime` needs `require` to be present (https://github.com/babel/babel-standalone/issues/4#issuecomment-172407902)\r\n- `require` is not present in JSFiddle since we're transpiling stuff on the fly in frontend with `babel-standalone` for browsers\r\n\r\nI've spent some time trying getting this to work with very little success.\r\n\r\nIf you manage to get it working with `babel-standalone`, let me know and I'll put it into JSFiddle."}}
{"actor":{"display_login":"oskarkrawczyk"}}