schibsted / account-sdk-browser

Schibsted Account SDK for browsers
https://schibsted.github.io/account-sdk-browser/
MIT License
16 stars 11 forks source link

es5: Ensure regeneratorRuntime is available #52

Closed torarvid closed 6 years ago

torarvid commented 6 years ago

This file was not working well, since it didn’t assign window.regeneratorRuntime before attempting to load Identity, Monetization and Payment. D’oh! This commit simplifies how it works, by reusing what happens in index.js.

codecov[bot] commented 6 years ago

Codecov Report

Merging #52 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #52   +/-   ##
=======================================
  Coverage   94.45%   94.45%           
=======================================
  Files          13       13           
  Lines         379      379           
  Branches       83       83           
=======================================
  Hits          358      358           
  Misses         20       20           
  Partials        1        1

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 223e4b4...0b06ee1. Read the comment docs.