Personal blog written from scratch using Node.js, Bootstrap, and MySQL. https://jrtechs.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
489 B

  1. // Hardcoded export for the node.js version:
  2. var sigma = this.sigma,
  3. conrad = this.conrad;
  4. sigma.conrad = conrad;
  5. // Dirty polyfills to permit sigma usage in node
  6. if (typeof HTMLElement === 'undefined')
  7. HTMLElement = function() {};
  8. if (typeof window === 'undefined')
  9. window = {
  10. addEventListener: function() {}
  11. };
  12. if (typeof exports !== 'undefined') {
  13. if (typeof module !== 'undefined' && module.exports)
  14. exports = module.exports = sigma;
  15. exports.sigma = sigma;
  16. }