(1.3 App Structure) Splitting Tasks into methods and publications


Hi Everyone, This is probably a very easy question for meteor 1.3 knowledgable people.

In the meteor application structure documentation its recommended to split an API into a few files but I didn’t see any examples of how to pull them back together.
I’m starting with Todo React Tutorial: Collections and I’m trying to split /api/tasks.js into
tasks.js methods.js server/publications.js

I don’t know what changes I need to make from the code that was in tasks.js to properly import the code moved to methods.js and server/publications.js

Thank you for your assistance!


Reasked at Stack (After 24Hr no response)