Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistency in encapsulating modules #183

Open
quadrophobiac opened this issue Jul 17, 2017 · 0 comments
Open

Consistency in encapsulating modules #183

quadrophobiac opened this issue Jul 17, 2017 · 0 comments

Comments

@quadrophobiac
Copy link
Collaborator

Main
excel.js, file.js, tools.js, utils.js, validate.js
Renderer
validate.js, loader.js

follow this convention for exporting module functions:

module.exports._private = {
    functionName,
    functionName,
    ...  }

with all other files following

module.exports._private = {
    functionIdentifier: function()
   ... 
}

consistency would be preferable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant