wilzbach/msa

View on GitHub
src/index.js

Summary

Maintainability
A
0 mins
Test Coverage
import MSA from "./msa";

const MSAWrapper = function() {
  var msa = function(args) {
    return MSA.apply(this, args);
  };
  msa.prototype = MSA.prototype;
  return new msa(arguments);
};
export default MSAWrapper;

export {MSA as msa};

// models
export * as model from "./model";

// extra plugins, extensions
export * as menu from "./menu";
export * as utils from "./utils";

// probably needed more often
export {default as selection} from  "./g/selection/Selection";
export {default as selcol} from "./g/selection/SelectionCol";
export {default as view} from "backbone-viewj";
export {default as boneView} from "backbone-childs";

// convenience
export {default as $} from 'jbone';

// parser (are currently bundled - so we can also expose them)
import {fasta, clustal, gff} from "bio.io";
const io = {
    xhr: require('xhr'),
    fasta: fasta,
    clustal: clustal,
    gff: gff
}

export {io};

// version will be automatically injected by webpack
// MSA_VERSION is only defined if loaded via webpack
var VERSION = "imported";
if (typeof MSA_VERSION !== "undefined" ) {
    VERSION = MSA_VERSION;
}

export const version = VERSION;