Commented a lot of functions. Tried to get jsDoc and/or docco to work

This commit is contained in:
Erik Ziegler committed 2015-11-16 17:49:35 +01:00
1 parent 14f47ad0e3
commit f349572d53
46 files changed
+654 -274

No files matched your search

+2 -3
View File
@@ -1,4 +1,3 @@
tabs = new Meteor.Collection(null);
Session.setDefault('ViewerData', {});
// Re-add any tab data saved in the Session
@@ -8,7 +7,7 @@ Object.keys(ViewerData).forEach(function(contentId) {
title: tabData.title,
contentid: tabData.contentid,
};
tabs.insert(data);
WorklistTabs.insert(data);
});
Router.configure({
@@ -34,7 +33,7 @@ Router.route('/viewer/:_id', {
// Check if this study is already loaded in a tab
// If it is, stop here so we don't keep adding tabs on hot-code reloads
var tab = tabs.find({'studyInstanceUid' : studyInstanceUid}).fetch();
var tab = WorklistTabs.find({'studyInstanceUid' : studyInstanceUid}).fetch();
if (tab) {
return;
}