Skip to content
Snippets Groups Projects
Commit 952e082a authored by David Sehnal's avatar David Sehnal
Browse files

mol-plugin: added version

parent ebaf0a20
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ import { LociLabelEntry, LociLabelManager } from './util/loci-label-manager'; ...@@ -26,6 +26,7 @@ import { LociLabelEntry, LociLabelManager } from './util/loci-label-manager';
import { ajaxGet } from 'mol-util/data-source'; import { ajaxGet } from 'mol-util/data-source';
import { CustomPropertyRegistry } from './util/custom-prop-registry'; import { CustomPropertyRegistry } from './util/custom-prop-registry';
import { VolumeRepresentationRegistry } from 'mol-repr/volume/registry'; import { VolumeRepresentationRegistry } from 'mol-repr/volume/registry';
import { PLUGIN_VERSION } from './version';
export class PluginContext { export class PluginContext {
private disposed = false; private disposed = false;
...@@ -171,6 +172,9 @@ export class PluginContext { ...@@ -171,6 +172,9 @@ export class PluginContext {
this.initDataActions(); this.initDataActions();
this.lociLabels = new LociLabelManager(this); this.lociLabels = new LociLabelManager(this);
// TODO: find a better solution for this.
setTimeout(() => this.log.message(`Mol* Plugin ${PLUGIN_VERSION}`), 500);
} }
// settings = ; // settings = ;
......
/**
* Copyright (c) 2018 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author David Sehnal <david.sehnal@gmail.com>
*/
export const PLUGIN_VERSION = '0.1.0';
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment