Applied JSCS and added JSCS/jsHint config files

This commit is contained in:
Erik Ziegler committed 2016-01-11 11:32:20 +01:00
1 parent a9266608d2
commit 90a16a8059
68 files changed
+24956 -6399

No files matched your search

@@ -29,7 +29,9 @@ var LesionManager = (function() {
function updateLesionData(lesionData) {
// Find the related Timepoint from the Timepoints Collection
var timepointID = lesionData.timepointID;
var timepoint = Timepoints.findOne({timepointID: timepointID});
var timepoint = Timepoints.findOne({
timepointID: timepointID
});
if (!timepoint) {
log.warn('Timepoint in an image is not present in the Timepoints Collection?');
return;
@@ -126,7 +128,9 @@ var LesionManager = (function() {
var measurements = Measurements.find({
isTarget: isTarget
}, {
sort: {lesionNumber: 1}
sort: {
lesionNumber: 1
}
}).fetch();
// If measurements exist, find the last lesion number
@@ -176,4 +180,4 @@ var LesionManager = (function() {
lesionNumberExists: lesionNumberExists,
getLocationName: getLocationName
};
})();
})();