From 5c1c4433079f3b70902e1cc0366bcc5be6251a23 Mon Sep 17 00:00:00 2001 From: Alexandre Nunes Date: Sat, 12 Sep 2020 17:21:00 -0300 Subject: [PATCH] Move Utils to src folder --- .../mathml-tag-to-latex/mathml-tags/MFenced.ts | 4 ++-- .../mathml-tag-to-latex/mathml-tags/MFrac.ts | 2 +- .../mathml-tag-to-latex/mathml-tags/MSup.ts | 2 +- {utils => src/utils}/Separators.ts | 0 {utils => src/utils}/index.ts | 0 {utils => src/utils}/wrappers/BracketWrapper.ts | 0 {utils => src/utils}/wrappers/GenericWrapper.ts | 0 {utils => src/utils}/wrappers/ParenthesisWrapper.ts | 0 {utils => src/utils}/wrappers/Wrapper.ts | 0 {utils => src/utils}/wrappers/index.ts | 0 10 files changed, 4 insertions(+), 4 deletions(-) rename {utils => src/utils}/Separators.ts (100%) rename {utils => src/utils}/index.ts (100%) rename {utils => src/utils}/wrappers/BracketWrapper.ts (100%) rename {utils => src/utils}/wrappers/GenericWrapper.ts (100%) rename {utils => src/utils}/wrappers/ParenthesisWrapper.ts (100%) rename {utils => src/utils}/wrappers/Wrapper.ts (100%) rename {utils => src/utils}/wrappers/index.ts (100%) diff --git a/src/converters/mathml-interfaces-to-latex/mathml-tag-to-latex/mathml-tags/MFenced.ts b/src/converters/mathml-interfaces-to-latex/mathml-tag-to-latex/mathml-tags/MFenced.ts index d385704..9ddc7a4 100755 --- a/src/converters/mathml-interfaces-to-latex/mathml-tag-to-latex/mathml-tags/MFenced.ts +++ b/src/converters/mathml-interfaces-to-latex/mathml-tag-to-latex/mathml-tags/MFenced.ts @@ -1,6 +1,6 @@ import { MathMLTag } from './MathMLTag'; -import { GenericWrapper } from '../../../../../utils/wrappers'; -import { JoinWithManySeparators } from '../../../../../utils'; +import { GenericWrapper } from '../../../../utils/wrappers'; +import { JoinWithManySeparators } from '../../../../utils'; export class MFenced extends MathMLTag { private _wrapper: GenericWrapper; diff --git a/src/converters/mathml-interfaces-to-latex/mathml-tag-to-latex/mathml-tags/MFrac.ts b/src/converters/mathml-interfaces-to-latex/mathml-tag-to-latex/mathml-tags/MFrac.ts index 40672d4..8848bef 100755 --- a/src/converters/mathml-interfaces-to-latex/mathml-tag-to-latex/mathml-tags/MFrac.ts +++ b/src/converters/mathml-interfaces-to-latex/mathml-tag-to-latex/mathml-tags/MFrac.ts @@ -1,6 +1,6 @@ import { MathMLTag } from './MathMLTag'; import { InvalidNumberOfChild } from '../../../../errors'; -import { ParenthesisWrapper } from '../../../../../utils/wrappers'; +import { ParenthesisWrapper } from '../../../../utils/wrappers'; export class MFrac extends MathMLTag { constructor(value: string, attributes: Record, children: MathMLTag[]) { diff --git a/src/converters/mathml-interfaces-to-latex/mathml-tag-to-latex/mathml-tags/MSup.ts b/src/converters/mathml-interfaces-to-latex/mathml-tag-to-latex/mathml-tags/MSup.ts index 1486968..9ea3788 100755 --- a/src/converters/mathml-interfaces-to-latex/mathml-tag-to-latex/mathml-tags/MSup.ts +++ b/src/converters/mathml-interfaces-to-latex/mathml-tag-to-latex/mathml-tags/MSup.ts @@ -1,5 +1,5 @@ import { MathMLTag } from './MathMLTag'; -import { BracketWrapper, ParenthesisWrapper } from '../../../../../utils/wrappers'; +import { BracketWrapper, ParenthesisWrapper } from '../../../../utils/wrappers'; import { InvalidNumberOfChild } from '../../../../errors'; export class MSup extends MathMLTag { diff --git a/utils/Separators.ts b/src/utils/Separators.ts similarity index 100% rename from utils/Separators.ts rename to src/utils/Separators.ts diff --git a/utils/index.ts b/src/utils/index.ts similarity index 100% rename from utils/index.ts rename to src/utils/index.ts diff --git a/utils/wrappers/BracketWrapper.ts b/src/utils/wrappers/BracketWrapper.ts similarity index 100% rename from utils/wrappers/BracketWrapper.ts rename to src/utils/wrappers/BracketWrapper.ts diff --git a/utils/wrappers/GenericWrapper.ts b/src/utils/wrappers/GenericWrapper.ts similarity index 100% rename from utils/wrappers/GenericWrapper.ts rename to src/utils/wrappers/GenericWrapper.ts diff --git a/utils/wrappers/ParenthesisWrapper.ts b/src/utils/wrappers/ParenthesisWrapper.ts similarity index 100% rename from utils/wrappers/ParenthesisWrapper.ts rename to src/utils/wrappers/ParenthesisWrapper.ts diff --git a/utils/wrappers/Wrapper.ts b/src/utils/wrappers/Wrapper.ts similarity index 100% rename from utils/wrappers/Wrapper.ts rename to src/utils/wrappers/Wrapper.ts diff --git a/utils/wrappers/index.ts b/src/utils/wrappers/index.ts similarity index 100% rename from utils/wrappers/index.ts rename to src/utils/wrappers/index.ts