Commented a lot of functions. Tried to get jsDoc and/or docco to work
This commit is contained in:
1 parent
14f47ad0e3
commit
f349572d53
46 files changed
+654
-274
No files matched your search
@@ -1,6 +1,13 @@
|
||||
// Define the Studies Collection
|
||||
// This is a client-side only Collection which
|
||||
// Stores the list of studies in the Worklist
|
||||
Studies = new Mongo.Collection(null);
|
||||
|
||||
Template.worklistResult.helpers({
|
||||
/**
|
||||
* Returns a sorted instance of the Studies Collection
|
||||
* by Patient name and Study Date in Ascending order.
|
||||
*/
|
||||
studies : function() {
|
||||
return Studies.find({}, {sort: {patientName : 1, studyDate : 1}});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user