source-academy / js-slang

Implementations of sublanguages of JavaScript, TypeScript, Scheme and Python
https://source-academy.github.io/source/
Apache License 2.0
70 stars 104 forks source link

Use fetch for docs loading exclusively #1656

Closed leeyi45 closed 7 months ago

leeyi45 commented 7 months ago

Import attributes don't really have as much support across browsers as we'd like. This PR removes the import() loader and simply uses fetch() for loading module documentation

coveralls commented 7 months ago

Pull Request Test Coverage Report for Build 8610923233

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/modules/loader/loaders.ts 8 9 88.89%
<!-- Total: 8 9 88.89% -->
Totals Coverage Status
Change from base Build 8609129430: 0.0%
Covered Lines: 10690
Relevant Lines: 12693

💛 - Coveralls