Closed kbrsh closed 4 years ago
Merging #259 into master will not change coverage. The diff coverage is
100%
.
@@ Coverage Diff @@
## master #259 +/- ##
=======================================
Coverage 93.34% 93.34%
=======================================
Files 26 26
Lines 842 842
Branches 177 177
=======================================
Hits 786 786
Misses 49 49
Partials 7 7
Impacted Files | Coverage Δ | |
---|---|---|
packages/moon-browser/src/index.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 855db29...aab846f. Read the comment docs.
In the HTTP driver, the
onload
event is used rather thanaddEventListener
. This PR refactors Moon Browser to use the same method by usingonload
along with an arrow function to clean up the event handling code that adds the listener.