From 3f90481e20210f37b44bb45304666dd5b655fb0f Mon Sep 17 00:00:00 2001 From: marzelin Date: Tue, 11 Oct 2016 16:18:57 +0200 Subject: [PATCH] doc: clarify relation between a file and a module PR-URL: https://github.com/nodejs/node/pull/9026 Reviewed-By: Gibson Fahnestock Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- doc/api/modules.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/modules.md b/doc/api/modules.md index 8de7071fe0..66ac1ce22c 100644 --- a/doc/api/modules.md +++ b/doc/api/modules.md @@ -4,9 +4,9 @@ -Node.js has a simple module loading system. In Node.js, files and modules are -in one-to-one correspondence. As an example, `foo.js` loads the module -`circle.js` in the same directory. +Node.js has a simple module loading system. In Node.js, files and modules +are in one-to-one correspondence (each file is treated as a separate module). +As an example, `foo.js` loads the module `circle.js` in the same directory. The contents of `foo.js`: