old_contents: /*globals process, require*/
  define([
          '../ThirdParty/Uri',
          './defaultValue',
          './defined',
          './DeveloperError'
      ], function(
          Uri,
          defaultValue,
          defined,
          DeveloperError) {
      'use strict';
  
      /**
       * Given a relative Uri and a base Uri, returns the absolute Uri of the relative Uri.
       * @exports getAbsoluteUri
       *
       * @param {String} relative The relative Uri.
       * @param {String} [base] The base Uri.
       * @returns {String} The absolute Uri of the given relative Uri.
       *
       * @example
       * //absolute Uri will be "https://test.com/awesome.png";
       * var absoluteUri = Cesium.getAbsoluteUri('awesome.png', 'https://test.com');
       */
       function getAbsoluteUri(relative, base) {
          if (typeof process === 'object' && Object.prototype.toString.call(process) === '[object process]') {
            // Running node
              return getAbsoluteUri._implementation(relative, base, {baseURI: 'http://localhost/', location: {href: ''}})
          } else {
             return getAbsoluteUri._implementation(relative, base, document);
          }
       }
  
      getAbsoluteUri._implementation = function(relative, base, documentObject) {
          //>>includeStart('debug', pragmas.debug);
          if (!defined(relative)) {
              throw new DeveloperError('relative uri is required.');
          }
          //>>includeEnd('debug');
          base = defaultValue(base, defaultValue(documentObject.baseURI, documentObject.location.href));
          var baseUri = new Uri(base);
          var relativeUri = new Uri(relative);
          return relativeUri.resolve(baseUri).toString();
      };
  
      return getAbsoluteUri;
  });
  
new_contents: /*globals process, require*/
  define([
          '../ThirdParty/Uri',
          './defaultValue',
          './defined',
          './DeveloperError'
      ], function(
          Uri,
          defaultValue,
          defined,
          DeveloperError) {
      'use strict';
  
      /**
       * Given a relative Uri and a base Uri, returns the absolute Uri of the relative Uri.
       * @exports getAbsoluteUri
       *
       * @param {String} relative The relative Uri.
       * @param {String} [base] The base Uri.
       * @returns {String} The absolute Uri of the given relative Uri.
       *
       * @example
       * //absolute Uri will be "https://test.com/awesome.png";
       * var absoluteUri = Cesium.getAbsoluteUri('awesome.png', 'https://test.com');
       */
       function getAbsoluteUri(relative, base) {
          if (typeof process === 'object' && Object.prototype.toString.call(process) === '[object process]') {
              // Running node
              return getAbsoluteUri._implementation(relative, base, {baseURI: 'http://localhost/', location: {href: ''}});
          }
          return getAbsoluteUri._implementation(relative, base, document);
       }
  
      getAbsoluteUri._implementation = function(relative, base, documentObject) {
          //>>includeStart('debug', pragmas.debug);
          if (!defined(relative)) {
              throw new DeveloperError('relative uri is required.');
          }
          //>>includeEnd('debug');
          base = defaultValue(base, defaultValue(documentObject.baseURI, documentObject.location.href));
          var baseUri = new Uri(base);
          var relativeUri = new Uri(relative);
          return relativeUri.resolve(baseUri).toString();
      };
  
      return getAbsoluteUri;
  });
  
subject: Fix eslint