Skip to content

Commit

Permalink
fix: add initParamsValidationRules
Browse files Browse the repository at this point in the history
  • Loading branch information
ElisavetAmpatzidou committed May 8, 2022
1 parent f9d6fe7 commit 02ed7d2
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clip/clip.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import {
color,
} from "./incidents";
import { initParams } from "./initParams";
import initParamsValidationRules from "./initParamsValidationRules";

const SVGD = loadPlugin(SVGDDef);
const Maps = loadPlugin(MapsDef);
Expand All @@ -30,6 +31,7 @@ export const clip = new HTMLClip({
html,
css,
host: document.getElementById("clip"),
initParamsValidationRules,
initParams: initParams[0].value,
fonts: [
{
Expand Down
48 changes: 48 additions & 0 deletions clip/initParamsValidationRules.js

Large diffs are not rendered by default.

0 comments on commit 02ed7d2

Please sign in to comment.