minor fixes
This commit is contained in:
parent
3288801422
commit
6db496195e
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ That's exactly because the module is executed only once. Exports are generated,
|
|||
|
||||
**Such behavior is actually very convenient, because it allows us to *configure* modules on first import.**
|
||||
|
||||
We can setup its properties once, and then in further imports it's ready.
|
||||
In other words, when the module code is evaluated (happens only the first time!), we can setup its properties once. And then in further imports it's ready.
|
||||
|
||||
For instance, the `admin.js` module may provide certain functionality, but expect the credentials to come into the `admin` object from outside:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue