code: function (fileName) {
              var dir;
              if (currDirRegExp.test(fileName)) {
                  dir = frontSlash(location.href);
                  if (dir.indexOf('/') !== -1) {
                      dir = dir.split('/');
  
                      //Pull off protocol and host, just want
                      //to allow paths (other build parts, like
                      //require._isSupportedBuildUrl do not support
                      //full URLs), but a full path from
                      //the root.
                      dir.splice(0, 3);
  
                      dir.pop();
                      dir = '/' + dir.join('/');
                  }
  
                  fileName = dir + fileName.substring(1);
              }
  
              return fileName;
          }
docs: Gets the absolute file path as a string, normalized
  to using front slashes for path separators.
  @param {String} fileName