now extends XmlComponent

This commit is contained in:
Dolan Miu
2016-04-09 20:16:35 +01:00
parent 84610bd72f
commit f68a2aff56
33 changed files with 180 additions and 371 deletions

View File

@ -26,7 +26,7 @@ interface DocumentAttributesProperties {
type?: string;
}
export class DocumentAttributes implements XmlComponent {
export class DocumentAttributes extends XmlComponent {
private _attr: Object;
xmlKeys = {
@ -56,6 +56,7 @@ export class DocumentAttributes implements XmlComponent {
};
constructor(properties?: DocumentAttributesProperties) {
super("_attr");
this._attr = properties
if (!properties) {