171
edits
(→Implementations: Noted Nathan Smith's effort to implement the spec) |
m (s/absolute/top-level/) |
||
| Line 18: | Line 18: | ||
# A term must be a camelCase identifier, ".", or "..". | # A term must be a camelCase identifier, ".", or "..". | ||
# Module identifiers may not have file-name extensions like ".js". | # Module identifiers may not have file-name extensions like ".js". | ||
# Module identifiers may be "relative" or " | # Module identifiers may be "relative" or "top-level". A module identifier is "relative" if the first term is "." or "..". | ||
# | # Top-level identifiers are resolved off the conceptual module name space root. | ||
# Relative identifiers are resolved relative to the identifier of the module in which "require" is called. | # Relative identifiers are resolved relative to the identifier of the module in which "require" is written and called. | ||
=== Unspecified === | === Unspecified === | ||
edits