UNPKG

bioj-vis-seqlogo

Version:
46 lines (35 loc) 658 B
/* * bioj-vis-seqlogo * https://github.com/guicalman/bioj-vis-seqlogo * * Copyright (c) 2015 greenify * Licensed under the MIT license. */ /** @class biojvisseqlogo */ var biojvisseqlogo; module.exports = biojvisseqlogo = function(opts){ this.el = opts.el; this.el.textContent = biojvisseqlogo.hello(opts.text); }; /** * Private Methods */ /* * Public Methods */ /** * Method responsible to say Hello * * @example * * biojvisseqlogo.hello('biojs'); * * @method hello * @param {String} name Name of a person * @return {String} Returns hello name */ biojvisseqlogo.hello = function (name) { return 'hello ' + name; };