diff --git a/src/xml.js b/src/xml.js index 601b54dd..af38505b 100755 --- a/src/xml.js +++ b/src/xml.js @@ -7,7 +7,7 @@ written by Jens Mönig jens@moenig.org - Copyright (C) 2018 by Jens Mönig + Copyright (C) 2020 by Jens Mönig This file is part of Snap!. @@ -67,7 +67,7 @@ // Global stuff //////////////////////////////////////////////////////// -modules.xml = '2018-November-12'; +modules.xml = '2020-April-20'; // Declarations @@ -178,7 +178,7 @@ XML_Element.prototype.init = function (tag, contents, parent) { // XML_Element DOM navigation: (aside from what's inherited from Node) -XML_Element.prototype.require = function (tagName, fallback) { // +++ +XML_Element.prototype.require = function (tagName, fallback) { // answer the first direct child with the specified tagName. // if it doesn't exist execute the fallback function or return the // fallback value, otherwise throw an error