Refactored file structure.
This commit is contained in:
parent
a58beb5f47
commit
bb139a3d85
@ -8,5 +8,6 @@
|
|||||||
import * as mappings from "./mapping/mappings.js";
|
import * as mappings from "./mapping/mappings.js";
|
||||||
import * as player from "./player/player.js";
|
import * as player from "./player/player.js";
|
||||||
import * as visualization from "./visualization/visualization.js";
|
import * as visualization from "./visualization/visualization.js";
|
||||||
|
import * as support from "./support/support.js";
|
||||||
|
|
||||||
export { mappings, player, visualization };
|
export { mappings, player, visualization, support };
|
@ -1,5 +1,5 @@
|
|||||||
import VisualizerUpdateManager from "../visualization/VisualizerUpdateManager.js";
|
import VisualizerUpdateManager from "../visualization/VisualizerUpdateManager.js";
|
||||||
import { mapBinNumerical, mapRangedAvgNumerical } from "./generic.js";
|
import { mapBinNumerical, mapRangedAvgNumerical } from "./numeric.js";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maps the width of an element to frequency bin(s).
|
* Maps the width of an element to frequency bin(s).
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
import * as colors from "./colors.js";
|
|
||||||
import * as dimensions from "./dimensions.js";
|
import * as dimensions from "./dimensions.js";
|
||||||
import * as easings from "./easings.js";
|
import * as numeric from "./numeric.js";
|
||||||
import * as generic from "./generic.js";
|
|
||||||
|
|
||||||
export { colors, dimensions, easings, generic };
|
export { dimensions, numeric };
|
@ -1,6 +1,6 @@
|
|||||||
import { parseColor, rgbaToHexRgba } from "./colors.js";
|
import { parseColor, rgbaToHexRgba } from "../support/colors.js";
|
||||||
import VisualizerUpdateManager from "../visualization/VisualizerUpdateManager.js";
|
import VisualizerUpdateManager from "../visualization/VisualizerUpdateManager.js";
|
||||||
import { mapBinNumerical, mapRangedAvgNumerical } from "./generic.js";
|
import { mapBinNumerical, mapRangedAvgNumerical } from "./numeric.js";
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
4
src/support/support.js
Normal file
4
src/support/support.js
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
import * as colors from "./colors.js";
|
||||||
|
import * as easings from "./easings.js";
|
||||||
|
|
||||||
|
export { colors, easings };
|
Loading…
Reference in New Issue
Block a user