From 6a2c2a1b7702cd11975fddb64c058e4739371c04 Mon Sep 17 00:00:00 2001 From: Hai Nguyen Date: Wed, 19 Jun 2024 23:33:47 -0400 Subject: [PATCH] fix typo --- js/src/widget_ngl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/widget_ngl.ts b/js/src/widget_ngl.ts index 4cd75fe6..677f13f7 100644 --- a/js/src/widget_ngl.ts +++ b/js/src/widget_ngl.ts @@ -803,7 +803,7 @@ class NGLView extends widgets.DOMWidgetView{ shapeComp.addRepresentation("buffer"); } - async g(structure) { + async replaceStructure(structure) { const { data, params = {}, ext } = structure; const blob = new Blob([data], { type: "text/plain" }); const { compList, viewerControls } = this.stage;