schibsted / account-sdk-browser

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

RESTClient: Bind default fetch reference to ‘window’ #26

Closed torarvid closed 6 years ago

torarvid commented 6 years ago

This issue was only discovered when communicating with the BFF, but without this commit, the fetch command will fail in certain browsers, because they need it to be bound to the window instance.

codecov[bot] commented 6 years ago

Codecov Report

Merging #26 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #26   +/-   ##
=======================================
  Coverage   94.74%   94.74%           
=======================================
  Files          16       16           
  Lines         457      457           
  Branches       82       83    +1     
=======================================
  Hits          433      433           
  Misses         23       23           
  Partials        1        1
Impacted Files Coverage Δ
src/RESTClient.js 100% <100%> (ø) :arrow_up:

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 191e5f8...19e6737. Read the comment docs.