From 62b6b3325424ce22d12d048d5e146285a063c79a Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Sat, 11 Mar 2017 16:56:35 +0000 Subject: [PATCH] created drawing file and refactored run components in components folder --- ts/docx/run/run-components/drawing/index.ts | 5 +++++ ts/docx/run/{ => run-components}/text.ts | 2 +- ts/docx/run/text-run.ts | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 ts/docx/run/run-components/drawing/index.ts rename ts/docx/run/{ => run-components}/text.ts (76%) diff --git a/ts/docx/run/run-components/drawing/index.ts b/ts/docx/run/run-components/drawing/index.ts new file mode 100644 index 0000000000..f86e12e58b --- /dev/null +++ b/ts/docx/run/run-components/drawing/index.ts @@ -0,0 +1,5 @@ +import { XmlComponent } from "../../../xml-components"; + +export class Drawing extends XmlComponent { + +} \ No newline at end of file diff --git a/ts/docx/run/text.ts b/ts/docx/run/run-components/text.ts similarity index 76% rename from ts/docx/run/text.ts rename to ts/docx/run/run-components/text.ts index 745c605094..48f6495331 100644 --- a/ts/docx/run/text.ts +++ b/ts/docx/run/run-components/text.ts @@ -1,4 +1,4 @@ -import { XmlComponent } from "../xml-components"; +import { XmlComponent } from "../../xml-components"; export class Text extends XmlComponent { diff --git a/ts/docx/run/text-run.ts b/ts/docx/run/text-run.ts index d8068021aa..c285b5fe82 100644 --- a/ts/docx/run/text-run.ts +++ b/ts/docx/run/text-run.ts @@ -1,5 +1,5 @@ import { Run } from "../run"; -import { Text } from "./text"; +import { Text } from "./run-components/text"; export class TextRun extends Run {