Commit 081fedb8 authored by Klaus Wölfel's avatar Klaus Wölfel

Release 3.41.1

parent 88dc21cc
...@@ -26,7 +26,7 @@ TESTDIR = test ...@@ -26,7 +26,7 @@ TESTDIR = test
EXAMPLEDIR = examples EXAMPLEDIR = examples
EXTERNALDIR = external EXTERNALDIR = external
VERSION = 3.41.0 VERSION = 3.41.1
JIOVERSION = ${DISTDIR}/jio-v${VERSION}.js JIOVERSION = ${DISTDIR}/jio-v${VERSION}.js
JIOLATEST = ${DISTDIR}/jio-latest.js JIOLATEST = ${DISTDIR}/jio-latest.js
JIONODEVERSION = ${DISTDIR}/jio-v${VERSION}-node.js JIONODEVERSION = ${DISTDIR}/jio-v${VERSION}-node.js
......
...@@ -8121,9 +8121,9 @@ return new Parser; ...@@ -8121,9 +8121,9 @@ return new Parser;
* See https://www.nexedi.com/licensing for rationale and options. * See https://www.nexedi.com/licensing for rationale and options.
*/ */
/*global window, RSVP, Blob, XMLHttpRequest, QueryFactory, Query, atob, /*global window, RSVP, Blob, XMLHttpRequest, QueryFactory, Query, atob,
FileReader, ArrayBuffer, Uint8Array, navigator */ FileReader, ArrayBuffer, Uint8Array */
(function (window, RSVP, Blob, QueryFactory, Query, atob, (function (window, RSVP, Blob, QueryFactory, Query, atob,
FileReader, ArrayBuffer, Uint8Array, navigator) { FileReader, ArrayBuffer, Uint8Array) {
"use strict"; "use strict";
/* Safari does not define DOMError */ /* Safari does not define DOMError */
...@@ -8131,17 +8131,6 @@ return new Parser; ...@@ -8131,17 +8131,6 @@ return new Parser;
window.DOMError = {}; window.DOMError = {};
} }
/* Document is not defined in ServiceWorkser */
if (window.document === undefined) {
window.document = {
createElementNS: function () {
throw new Error(
'document.createElementNS is not supported by ' + navigator.userAgent
);
}
};
}
var util = {}, var util = {},
jIO; jIO;
...@@ -8669,7 +8658,7 @@ return new Parser; ...@@ -8669,7 +8658,7 @@ return new Parser;
window.jIO = jIO; window.jIO = jIO;
}(window, RSVP, Blob, QueryFactory, Query, atob, }(window, RSVP, Blob, QueryFactory, Query, atob,
FileReader, ArrayBuffer, Uint8Array, navigator)); FileReader, ArrayBuffer, Uint8Array));
/* /*
* Rusha, a JavaScript implementation of the Secure Hash Algorithm, SHA-1, * Rusha, a JavaScript implementation of the Secure Hash Algorithm, SHA-1,
* as defined in FIPS PUB 180-1, tuned for high performance with large inputs. * as defined in FIPS PUB 180-1, tuned for high performance with large inputs.
...@@ -15897,10 +15886,21 @@ return new Parser; ...@@ -15897,10 +15886,21 @@ return new Parser;
*/ */
/*jslint nomen: true*/ /*jslint nomen: true*/
/*global document, jIO, RSVP, DOMParser, XMLSerializer*/ /*global window, jIO, RSVP, DOMParser, XMLSerializer, navigator*/
(function (document, jIO, RSVP, DOMParser, XMLSerializer) { (function (window, jIO, RSVP, DOMParser, XMLSerializer, navigator) {
"use strict"; "use strict";
/* Document is not defined in ServiceWorker */
if (window.document === undefined) {
window.document = {
createElementNS: function () {
throw new Error(
'document.createElementNS is not supported by ' + navigator.userAgent
);
}
};
}
var parser = new DOMParser(), var parser = new DOMParser(),
serializer = new XMLSerializer(); serializer = new XMLSerializer();
...@@ -15928,13 +15928,13 @@ return new Parser; ...@@ -15928,13 +15928,13 @@ return new Parser;
if (conversion_kw) { if (conversion_kw) {
for (key in conversion_kw) { for (key in conversion_kw) {
if (conversion_kw.hasOwnProperty(key)) { if (conversion_kw.hasOwnProperty(key)) {
elt = document.createElementNS(null, conversion_kw[key][1]); elt = window.document.createElementNS(null, conversion_kw[key][1]);
elt.textContent = conversion_kw[key][0]; elt.textContent = conversion_kw[key][0];
value = document.createElementNS(null, "value"); value = window.document.createElementNS(null, "value");
value.appendChild(elt); value.appendChild(elt);
name = document.createElementNS(null, "name"); name = window.document.createElementNS(null, "name");
name.textContent = key; name.textContent = key;
member = document.createElementNS(null, "member"); member = window.document.createElementNS(null, "member");
member.appendChild(name); member.appendChild(name);
member.appendChild(value); member.appendChild(value);
struct[0].appendChild(member); struct[0].appendChild(member);
...@@ -16043,4 +16043,4 @@ return new Parser; ...@@ -16043,4 +16043,4 @@ return new Parser;
jIO.addStorage('cloudooo', CloudoooStorage); jIO.addStorage('cloudooo', CloudoooStorage);
}(document, jIO, RSVP, DOMParser, XMLSerializer)); }(window, jIO, RSVP, DOMParser, XMLSerializer, navigator));
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment