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,5 +1,8 @@
/* globals unescape */
var Utils = require("../core/Utils.js");
/**
* URL operations.
* Namespace is appended with an underscore to prevent overwriting the global URL object.
@ -10,7 +13,7 @@
*
* @namespace
*/
var URL_ = {
var URL_ = module.exports = {
/**
* @constant