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,3 +1,4 @@
|
||||
.idea
|
||||
.meteor/local
|
||||
.meteor/meteorite
|
||||
node_modules
|
||||
@@ -58,6 +58,7 @@ minifiers@1.1.7
|
||||
minimongo@1.0.10
|
||||
mobile-experience@1.0.1
|
||||
mobile-status-bar@1.0.6
|
||||
momentjs:moment@2.8.4
|
||||
mongo@1.1.3
|
||||
mongo-id@1.0.1
|
||||
mrt:moment@2.8.1
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user