Converted the majority of the core and operations to use CommonJS module syntax.

This commit is contained in:
n1474335 2017-03-06 12:45:51 +00:00
parent a4197684e5
commit a21e0e546b
50 changed files with 308 additions and 123 deletions

View file

@ -1,4 +1,7 @@
/* globals BigInteger, Checksum */
var Utils = require("../core/Utils.js"),
Checksum = require("./Checksum.js"),
BigInteger = require("jsbn").BigInteger;
/**
* Internet Protocol address operations.
@ -9,7 +12,7 @@
*
* @namespace
*/
var IP = {
var IP = module.exports = {
/**
* @constant