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

Release 3.41.1

parent 88dc21cc
......@@ -26,7 +26,7 @@ TESTDIR = test
EXAMPLEDIR = examples
EXTERNALDIR = external
VERSION = 3.41.0
VERSION = 3.41.1
JIOVERSION = ${DISTDIR}/jio-v${VERSION}.js
JIOLATEST = ${DISTDIR}/jio-latest.js
JIONODEVERSION = ${DISTDIR}/jio-v${VERSION}-node.js
......
......@@ -8121,9 +8121,9 @@ return new Parser;
* See https://www.nexedi.com/licensing for rationale and options.
*/
/*global window, RSVP, Blob, XMLHttpRequest, QueryFactory, Query, atob,
FileReader, ArrayBuffer, Uint8Array, navigator */
FileReader, ArrayBuffer, Uint8Array */
(function (window, RSVP, Blob, QueryFactory, Query, atob,
FileReader, ArrayBuffer, Uint8Array, navigator) {
FileReader, ArrayBuffer, Uint8Array) {
"use strict";
/* Safari does not define DOMError */
......@@ -8131,17 +8131,6 @@ return new Parser;
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 = {},
jIO;
......@@ -8669,7 +8658,7 @@ return new Parser;
window.jIO = jIO;
}(window, RSVP, Blob, QueryFactory, Query, atob,
FileReader, ArrayBuffer, Uint8Array, navigator));
FileReader, ArrayBuffer, Uint8Array));
/*
* 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.
......@@ -15897,10 +15886,21 @@ return new Parser;
*/
/*jslint nomen: true*/
/*global document, jIO, RSVP, DOMParser, XMLSerializer*/
(function (document, jIO, RSVP, DOMParser, XMLSerializer) {
/*global window, jIO, RSVP, DOMParser, XMLSerializer, navigator*/
(function (window, jIO, RSVP, DOMParser, XMLSerializer, navigator) {
"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(),
serializer = new XMLSerializer();
......@@ -15928,13 +15928,13 @@ return new Parser;
if (conversion_kw) {
for (key in conversion_kw) {
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];
value = document.createElementNS(null, "value");
value = window.document.createElementNS(null, "value");
value.appendChild(elt);
name = document.createElementNS(null, "name");
name = window.document.createElementNS(null, "name");
name.textContent = key;
member = document.createElementNS(null, "member");
member = window.document.createElementNS(null, "member");
member.appendChild(name);
member.appendChild(value);
struct[0].appendChild(member);
......@@ -16043,4 +16043,4 @@ return new Parser;
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