From 1b5ef5d93a047b346b20beafd68545ea6295d20e Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Fri, 23 Nov 2018 08:08:30 -0800 Subject: [PATCH] Move TypedArrayUtils to common It belongs here since the renderers will use it --- src/CharWidth.ts | 2 +- src/{core => common}/TypedArrayUtils.test.ts | 0 src/{core => common}/TypedArrayUtils.ts | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename src/{core => common}/TypedArrayUtils.test.ts (100%) rename src/{core => common}/TypedArrayUtils.ts (100%) diff --git a/src/CharWidth.ts b/src/CharWidth.ts index fd6ac55f..43cd948e 100644 --- a/src/CharWidth.ts +++ b/src/CharWidth.ts @@ -3,7 +3,7 @@ * @license MIT */ -import { fill } from './core/TypedArrayUtils'; +import { fill } from './common/TypedArrayUtils'; export const wcwidth = (function(opts: {nul: number, control: number}): (ucs: number) => number { // extracted from https://www.cl.cam.ac.uk/%7Emgk25/ucs/wcwidth.c diff --git a/src/core/TypedArrayUtils.test.ts b/src/common/TypedArrayUtils.test.ts similarity index 100% rename from src/core/TypedArrayUtils.test.ts rename to src/common/TypedArrayUtils.test.ts diff --git a/src/core/TypedArrayUtils.ts b/src/common/TypedArrayUtils.ts similarity index 100% rename from src/core/TypedArrayUtils.ts rename to src/common/TypedArrayUtils.ts