{"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":3,"created_at":"2015-06-06T18:11:24Z","updated_at":"2015-06-06T19:12:07Z","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/109638324","html_url":"https://github.com/mozilla/localForage/pull/390#issuecomment-109638324","issue_url":"https://api.github.com/repos/mozilla/localForage/issues/390","id":109638324,"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},"created_at":"2015-06-06T19:12:07Z","updated_at":"2015-06-06T19:12:07Z","body":"Some things that need further discussion:\r\n\r\n\r\n### remove `require('promise')`\r\nFor some developers requiring polyfills is an anti-pattern. Could we just add the polyfill to the dist bundle? Is this really required for a use case not covered by the test cases (nodejs maybe)?\r\n\r\n\r\n### use es6 `import` statements\r\nThis can be used for the `serializer` module initially.\r\nIf we want to get rid of all the custom module imports then we need to:\r\n* either drop support for dynamic driver loading with requirejs\r\n* or implement a babel transformer for the not-yet-standardized `System.import`\r\n\r\nThis might also cause problems with component bundler!"}}