Skip to content

Instantly share code, notes, and snippets.

@nbargnesi
Last active August 29, 2015 14:13
Show Gist options
  • Save nbargnesi/cee146ae4b623c7250ba to your computer and use it in GitHub Desktop.
Save nbargnesi/cee146ae4b623c7250ba to your computer and use it in GitHub Desktop.
BELHop Snippet
/**
* @file BELHop JavaScript library.
* @author OpenBEL Committers
* @license Apache-2.0
*/
(function() {
var root = this;
/**
* The BELHop module.
* @exports belhop
* @version 0.1.0
*/
var belhop = function(obj) {
if (obj instanceof belhop) return obj;
if (!(this instanceof belhop)) return new belhop(obj);
belhop.init = true;
};
}.call(this));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment