Procházet zdrojové kódy

Issue #805: some rcsb-molstar clean up

cycle20 před 1 rokem
rodič
revize
65a2d0a6db

+ 1 - 0
src/RcsbFvStructure/StructureViewers/MolstarViewer/MolstarManagerFactory.ts

@@ -23,6 +23,7 @@ export class MolstarManagerFactory<P,L> implements ViewerManagerFactoryInterface
             ...viewerParams.viewerProps,
             layoutShowControls:false,
             layoutShowSequence: true,
+            showWelcomeToast: false,
             canvas3d: {
                 multiSample: {
                     mode: 'off'

+ 0 - 10
src/examples/assembly-tm/tmdet-viewer/TmViewer.ts

@@ -17,16 +17,6 @@ import { PresetProps } from '../preset2';
 import { Mat4 } from 'molstar/lib/commonjs/mol-math/linear-algebra';
 import { TrajectoryHierarchyPresetProvider } from 'molstar/lib/mol-plugin-state/builder/structure/hierarchy-preset';
 
-
-/** package version, filled in at bundle build time */
-declare const __RCSB_MOLSTAR_VERSION__: string;
-export const RCSB_MOLSTAR_VERSION = typeof __RCSB_MOLSTAR_VERSION__ != 'undefined' ? __RCSB_MOLSTAR_VERSION__ : 'none';
-
-/** unix time stamp, to be filled in at bundle build time */
-declare const __BUILD_TIMESTAMP__: number;
-export const BUILD_TIMESTAMP = typeof __BUILD_TIMESTAMP__ != 'undefined' ? __BUILD_TIMESTAMP__ : 'none';
-export const BUILD_DATE = new Date(BUILD_TIMESTAMP);
-
 export class TmViewer extends Viewer {
 
     constructor(elementOrId: string | HTMLElement, props: Partial<ViewerProps> = {}) {