code: function (moduleNamePlusExt, relModuleMap) {
                  var index = moduleNamePlusExt.lastIndexOf("."),
                      ext = null;
  
                  if (index !== -1) {
                      ext = moduleNamePlusExt.substring(index, moduleNamePlusExt.length);
                      moduleNamePlusExt = moduleNamePlusExt.substring(0, index);
                  }
  
                  return context.nameToUrl(moduleNamePlusExt, ext, relModuleMap);
              }
docs: Converts a module name + .extension into an URL path.
  *Requires* the use of a module name. It does not support using
  plain URLs like nameToUrl.