Browse Source

fix firefox issue

pull/12/head
Guillermo 8 years ago
parent
commit
ab13d7b891
  1. 2
      src/browser/lang.js

2
src/browser/lang.js

@ -30,8 +30,8 @@ function fetchLanguageData(req, res, cb){ @@ -30,8 +30,8 @@ function fetchLanguageData(req, res, cb){
var url = req.workerOptions.langPath + langfile;
var xhr = new XMLHttpRequest();
xhr.responseType = 'arraybuffer';
xhr.open('GET', url, true);
xhr.responseType = 'arraybuffer';
xhr.onerror = e => {
xhr.onprogress = xhr.onload = null
cb(xhr, null)

Loading…
Cancel
Save