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) }