Skip to content

Commit

Permalink
candor: update dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Nov 3, 2012
1 parent a0820f4 commit d48ba93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deps/candor
6 changes: 5 additions & 1 deletion lib/module.can
Expand Up @@ -6,5 +6,9 @@ fs = global._natives.fs
global.require = (filename) {
content = buffer.stringify(fs.readFileSync(filename))
content = "return (require) {\n" + content + "\n}"
return compile(filename, content)()(global.require)

return compile(
filename,
content
)()(global.require)
}

0 comments on commit d48ba93

Please sign in to comment.