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

Advice for keeping the templates in different modules ? #25

Closed
cAstraea opened this issue Mar 19, 2017 · 1 comment
Closed

Advice for keeping the templates in different modules ? #25

cAstraea opened this issue Mar 19, 2017 · 1 comment

Comments

@cAstraea
Copy link

Was thinking how to better organise my code and keep the menus in different files so I don't clutter the main app.js I can require but not sure how to go about it since they require lots of information from the main app.js ? Anyone got an example ?
Should I pass everything I need to return mainMenu(); ? like return mainMenu(botly,Botly,sender) ?

@miki2826
Copy link
Owner

miki2826 commented Apr 1, 2017

@cAstraea can you please provide an example of what you currently have?

@miki2826 miki2826 closed this as completed Mar 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants