ebclient.js
Version:
Client library for using EnigmaBridge crypto services
31 lines (25 loc) • 492 B
JavaScript
/*!
* EnigmaBridge core
* @author Dusan Klinec (ph4r05)
* @license MIT.
*/
/*jshint globalstrict: true*/
/*jshint node: true */
;
var eb = require('./eb-core');
/**
* export to either browser or node.js
*/
if (typeof exports !== "undefined") {
exports = module.exports = eb;
}
else {
window.eb = eb;
if (typeof define === "function" && define.amd) {
define(function() {
return {
eb: eb
};
});
}
}