Mercurial > lada > lada-client
diff app/controller/Proben.js @ 500:ad7f574b382a
Fixed some js related issues (unused vars, arrays, etc.) and code style.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 06 Nov 2014 11:20:47 +0100 |
parents | 8b4ec61c5752 |
children |
line wrap: on
line diff
--- a/app/controller/Proben.js Thu Nov 06 11:12:21 2014 +0100 +++ b/app/controller/Proben.js Thu Nov 06 11:20:47 2014 +0100 @@ -10,6 +10,7 @@ * Controller for Proben */ +// TODO: Move these functions into the controller. function numOfErrors(proben) { var errors = 0; for (var key in proben) { @@ -20,6 +21,7 @@ return errors; } +// TODO: Use tpl to generate the html document. function buildImportReport(filename, msg, errors, warnings) { var out = []; // There is a entry for each imported proben in the errors dict (might be