Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
NanaKwame committed Apr 4, 2021
1 parent 82b2fa4 commit ba9b9fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/js/ctrl/demonstrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,6 @@ export function cleanSpecForPreview(sceneSpec, width: number, height: number, gr
markSpec.axes = markSpec.axes.map((axis) => {
return {...axis, title: '', labels: false, ticks: false, domain: false};
});

markSpec.legends = [];
markSpec.encode.update.x = {"value": 0};
markSpec.encode.update.y = {"value": 0};
Expand Down Expand Up @@ -1300,7 +1299,7 @@ export function cleanSpecForPreview(sceneSpec, width: number, height: number, gr
return addBaseSignalsForPreview(sceneUpdated, groupName, interactionId);
}

export function addBaseSignalsForPreview(sceneSpec, groupName, interactionId) {
function addBaseSignalsForPreview(sceneSpec, groupName, interactionId) {
const sceneUpdated = duplicate(sceneSpec);
const baseSignalsScoped = baseSignals.map(s => {
if (s.name === 'width' || s.name === 'height') return s;
Expand Down

0 comments on commit ba9b9fc

Please sign in to comment.