takuyaa / kuromoji.js

JavaScript implementation of Japanese morphological analyzer
832 stars 117 forks source link

Move XHR to fetch #38

Closed hata6502 closed 4 years ago

hata6502 commented 4 years ago

By using fetch instead of XHR, Service Worker can cache the dictionary files.
https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Offline_Service_workers

The polyfill may be required for legacy browsers. https://github.com/github/fetch

codecov-io commented 4 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@71ea847). Click here to learn what that means. The diff coverage is n/a.

hata6502 commented 4 years ago

I mistaked From Branch. So I'll recreate PR!