{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/localForage/issues/390","labels_url":"https://api.github.com/repos/mozilla/localForage/issues/390/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/localForage/issues/390/comments","events_url":"https://api.github.com/repos/mozilla/localForage/issues/390/events","html_url":"https://github.com/mozilla/localForage/pull/390","id":85789550,"number":390,"title":"refactor(localforage): use es6 with babel (loose all)","user":{"login":"thgreasi","id":1295829,"avatar_url":"https://avatars.githubusercontent.com/u/1295829?v=3","gravatar_id":"","url":"https://api.github.com/users/thgreasi","html_url":"https://github.com/thgreasi","followers_url":"https://api.github.com/users/thgreasi/followers","following_url":"https://api.github.com/users/thgreasi/following{/other_user}","gists_url":"https://api.github.com/users/thgreasi/gists{/gist_id}","starred_url":"https://api.github.com/users/thgreasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thgreasi/subscriptions","organizations_url":"https://api.github.com/users/thgreasi/orgs","repos_url":"https://api.github.com/users/thgreasi/repos","events_url":"https://api.github.com/users/thgreasi/events{/privacy}","received_events_url":"https://api.github.com/users/thgreasi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-06-06T18:11:24Z","updated_at":"2015-07-13T12:43:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/localForage/pulls/390","html_url":"https://github.com/mozilla/localForage/pull/390","diff_url":"https://github.com/mozilla/localForage/pull/390.diff","patch_url":"https://github.com/mozilla/localForage/pull/390.patch"},"body":"Resolves #158\r\n"},"comment":{"url":"https://api.github.com/repos/mozilla/localForage/issues/comments/120915553","html_url":"https://github.com/mozilla/localForage/pull/390#issuecomment-120915553","issue_url":"https://api.github.com/repos/mozilla/localForage/issues/390","id":120915553,"user":{"login":"tofumatt","id":90871,"avatar_url":"https://avatars.githubusercontent.com/u/90871?v=3","gravatar_id":"","url":"https://api.github.com/users/tofumatt","html_url":"https://github.com/tofumatt","followers_url":"https://api.github.com/users/tofumatt/followers","following_url":"https://api.github.com/users/tofumatt/following{/other_user}","gists_url":"https://api.github.com/users/tofumatt/gists{/gist_id}","starred_url":"https://api.github.com/users/tofumatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tofumatt/subscriptions","organizations_url":"https://api.github.com/users/tofumatt/orgs","repos_url":"https://api.github.com/users/tofumatt/repos","events_url":"https://api.github.com/users/tofumatt/events{/privacy}","received_events_url":"https://api.github.com/users/tofumatt/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T12:43:17Z","updated_at":"2015-07-13T12:43:17Z","body":"## re: `remove require('promise')`\r\n\r\nI agree about requiring polyfills as anti pattern, at least in the `src` code. It's important to still include in the `dist` file, as [IE still needs the polyfill](http://caniuse.com/#search=promises). And I assume the polyfill is smart enough to back off from loading its own code if Promises are already available... for its file size I almost would rather just have one `dist` file as well. So loading promises into the `dist` file but otherwise not keeping them around is fine by me."}}