From cac9407185ab73aa6d2b1288045c46fae382e067 Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Wed, 30 Nov 2022 09:23:35 +0100 Subject: [PATCH] remove snapshot param in yxml.getAttributes --- src/types/YXmlElement.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/types/YXmlElement.js b/src/types/YXmlElement.js index 464951b4..59c51cff 100644 --- a/src/types/YXmlElement.js +++ b/src/types/YXmlElement.js @@ -176,12 +176,11 @@ export class YXmlElement extends YXmlFragment { /** * Returns all attribute name/value pairs in a JSON Object. * - * @param {Snapshot} [snapshot] * @return {Object} A JSON Object that describes the attributes. * * @public */ - getAttributes (snapshot) { + getAttributes () { return typeMapGetAll(this) }