Last active
August 29, 2015 14:00
-
-
Save drobbins/b2940d6949d07045bf5c to your computer and use it in GitHub Desktop.
Simple Meteor/IPE Module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myPatients = Patients.find().fetch(); | |
numPatients = myPatients.length; | |
console.log("Hello from a module in Este. There are", numPatients, "patients available."); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
numModules = Modules.find().count(); | |
console.log("Hello from a module! Including this one, there are", numModules, "modules loaded."); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
David, I wrote this JSON Patients Gist to test it and it worked fine. Can you remind me how I should have written it to create a regular navigable entry?