Toggle navigation
Toggle navigation
This project
Loading...
Sign in
I_Jemin
/
Node-Study
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
I_Jemin
2018-03-20 07:09:25 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d895830a6d355ccc21c2e9a1a42cd3db425851a7
d895830a
1 parent
f11a1d40
Export Single Function
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
app.js
logger.js
app.js
View file @
d895830
var
logger
=
require
(
'./logger'
)
const
log
=
require
(
'./logger'
)
logger
.
log
(
'message'
);
\ No newline at end of file
log
(
'message'
);
\ No newline at end of file
...
...
logger.js
View file @
d895830
...
...
@@ -5,4 +5,4 @@ function log(message) {
console
.
log
(
message
);
}
module
.
exports
.
log
=
log
;
\ No newline at end of file
module
.
exports
=
log
;
\ No newline at end of file
...
...
Please
register
or
login
to post a comment