ServerJS/Modules/SecurableModules: Difference between revisions

Jump to navigation Jump to search
m
s/absolute/top-level/
(→‎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 "absolute".  A module identifier is "relative" if the first term is "." or "..".
# Module identifiers may be "relative" or "top-level".  A module identifier is "relative" if the first term is "." or "..".
# Absolute identifiers are resolved off the conceptual module name space root.
# 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 ===
171

edits

Navigation menu