added .js suffixes. #158
This commit is contained in:
Родитель
a132c6a45d
Коммит
5cbf4b6fa4
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -13,11 +13,11 @@
|
|||
* - download2: http://danml.com/download.html
|
||||
*/
|
||||
|
||||
import { CONF, META_PARSE_VALUES } from "./config";
|
||||
import { getSelectors, splitLayers, getRows } from "./utils";
|
||||
import { hackFacet, getEmptySpec } from "./hack-facet-view";
|
||||
import { getGridSpec, getJitterSpec } from "./layout";
|
||||
import { CustomAnimations } from "./custom-animations";
|
||||
import { CONF, META_PARSE_VALUES } from "./config.js";
|
||||
import { getSelectors, splitLayers, getRows } from "./utils.js";
|
||||
import { hackFacet, getEmptySpec } from "./hack-facet-view.js";
|
||||
import { getGridSpec, getJitterSpec } from "./layout.js";
|
||||
import { CustomAnimations } from "./custom-animations.js";
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
* Inspiration from: https://giorgi-ghviniashvili.github.io/aggregate-animation-data/designs/
|
||||
*/
|
||||
|
||||
import { CONF } from "./config";
|
||||
import { getGridSpec } from "./layout";
|
||||
import { CONF } from "./config.js";
|
||||
import { getGridSpec } from "./layout.js";
|
||||
|
||||
/**
|
||||
* Generates a spec for count animation
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Adding axis layer underneath to look exactly same as faceted view
|
||||
*/
|
||||
|
||||
import { CONF, META_PARSE_VALUES } from "./config";
|
||||
import { CONF, META_PARSE_VALUES } from "./config.js";
|
||||
|
||||
/**
|
||||
* Get empty spec, if no data is present
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* - grid view: meta.parse = "grid"
|
||||
* - jittered view: meta.parse = "jitter"
|
||||
*/
|
||||
import { CONF, IGNORE_FIELDS } from "./config";
|
||||
import { lookupByBucket } from "./utils";
|
||||
import { CONF, IGNORE_FIELDS } from "./config.js";
|
||||
import { lookupByBucket } from "./utils.js";
|
||||
|
||||
/**
|
||||
* Generates data for grid specs
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { IGNORE_FIELDS } from "./config";
|
||||
import { IGNORE_FIELDS } from "./config.js";
|
||||
|
||||
/**
|
||||
* Gets selectors for each componenent, such as slider and animation divs
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import assert from 'assert';
|
||||
import { generateGrid, getGridSpec, getJitterSpec } from "../dist/esm/index.js";
|
||||
import * as d3 from "d3";
|
||||
import { generateGrid } from "../scripts/layout.js";
|
||||
|
||||
// set d3 globally. The functions expect d3 to be globally set
|
||||
global.d3 = d3;
|
||||
|
|
Загрузка…
Ссылка в новой задаче