Made project Prettier compliant

This commit is contained in:
Dolan
2018-01-23 01:33:12 +00:00
parent f2027230a0
commit e93d6799fd
101 changed files with 1198 additions and 1207 deletions

View File

@ -3,13 +3,14 @@ import { XmlComponent } from "file/xml-components";
import { ExtentsAttributes } from "./extents-attributes";
export class Extents extends XmlComponent {
constructor(x: number, y: number) {
super("a:ext");
this.root.push(new ExtentsAttributes({
cx: x,
cy: y,
}));
this.root.push(
new ExtentsAttributes({
cx: x,
cy: y,
}),
);
}
}

View File

@ -4,7 +4,6 @@ import { Extents } from "./extents/extents";
import { Offset } from "./offset/off";
export class Form extends XmlComponent {
constructor(x: number, y: number) {
super("a:xfrm");

View File

@ -3,13 +3,14 @@ import { XmlComponent } from "file/xml-components";
import { OffsetAttributes } from "./off-attributes";
export class Offset extends XmlComponent {
constructor() {
super("a:off");
this.root.push(new OffsetAttributes({
x: 0,
y: 0,
}));
this.root.push(
new OffsetAttributes({
x: 0,
y: 0,
}),
);
}
}

View File

@ -1,7 +1,6 @@
import { XmlComponent } from "file/xml-components";
export class NoFill extends XmlComponent {
constructor() {
super("a:noFill");
}

View File

@ -1,7 +1,6 @@
import { XmlComponent } from "file/xml-components";
export class NoFill extends XmlComponent {
constructor() {
super("a:noFill");
}

View File

@ -3,7 +3,6 @@ import { XmlComponent } from "file/xml-components";
import { NoFill } from "./no-fill";
export class Outline extends XmlComponent {
constructor() {
super("a:ln");

View File

@ -2,7 +2,6 @@
import { XmlComponent } from "file/xml-components";
export class AdjustmentValues extends XmlComponent {
constructor() {
super("a:avLst");
}

View File

@ -4,13 +4,14 @@ import { AdjustmentValues } from "./adjustment-values/adjustment-values";
import { PresetGeometryAttributes } from "./preset-geometry-attributes";
export class PresetGeometry extends XmlComponent {
constructor() {
super("a:prstGeom");
this.root.push(new PresetGeometryAttributes({
prst: "rect",
}));
this.root.push(
new PresetGeometryAttributes({
prst: "rect",
}),
);
this.root.push(new AdjustmentValues());
}

View File

@ -7,13 +7,14 @@ import { PresetGeometry } from "./preset-geometry/preset-geometry";
import { ShapePropertiesAttributes } from "./shape-properties-attributes";
export class ShapeProperties extends XmlComponent {
constructor(x: number, y: number) {
super("pic:spPr");
this.root.push(new ShapePropertiesAttributes({
bwMode: "auto",
}));
this.root.push(
new ShapePropertiesAttributes({
bwMode: "auto",
}),
);
this.root.push(new Form(x, y));
this.root.push(new PresetGeometry());