added body to document

This commit is contained in:
Dolan Miu
2016-03-31 23:03:16 +01:00
parent b1b664bfe3
commit b828d682d3

View File

@ -1,4 +1,5 @@
import {XmlComponent, Attributes} from "../xml-components"; import {XmlComponent, Attributes} from "../xml-components";
import {Body} from "./body";
export class Document { export class Document {
private document: Array<XmlComponent>; private document: Array<XmlComponent>;
@ -6,7 +7,7 @@ export class Document {
constructor() { constructor() {
this.document = new Array<XmlComponent>(); this.document = new Array<XmlComponent>();
this.document.push(new Attributes({})); this.document.push(new Attributes({}));
this. this.document.push(new Body());
} }
test() { test() {