removed an obsolete "to do" comment in xml.js

pull/95/head
jmoenig 2020-04-20 10:32:19 +02:00
rodzic ca6ea08e2d
commit 31c7cee9e7
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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