From 76ae797a9eb7a537ec594961fb61c0873119cd0d Mon Sep 17 00:00:00 2001 From: Julian Descottes Date: Sun, 8 Jan 2017 11:55:09 +0100 Subject: [PATCH] nits: typos and case --- .../controller/settings/exportimage/PngExportController.js | 6 ++---- src/templates/settings/application.html | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/js/controller/settings/exportimage/PngExportController.js b/src/js/controller/settings/exportimage/PngExportController.js index b1988e34..94d809a9 100644 --- a/src/js/controller/settings/exportimage/PngExportController.js +++ b/src/js/controller/settings/exportimage/PngExportController.js @@ -3,11 +3,9 @@ var dimensionInfoPattern = '{{width}} x {{height}} px, {{frames}}
{{columns}}, {{rows}}.'; - // Shortcut to pskl.utils.Template.replace var replace = pskl.utils.Template.replace; - // Helper to return "X items" or "1 item" if X is 1. Can be cnsidered as an overkill, - // but the one-liner equivalent is hard to read. + // Helper to return "X items" or "1 item" if X is 1. var pluralize = function (word, count) { if (count === 1) { return '1 ' + word; @@ -120,7 +118,7 @@ value = 1; } - // Force the value to be in bounds, in the user tried to update it by directly typing + // Force the value to be in bounds, if the user tried to update it by directly typing // a value. value = pskl.utils.Math.minmax(value, 1, this.piskelController.getFrameCount()); this.columnsInput.value = value; diff --git a/src/templates/settings/application.html b/src/templates/settings/application.html index 1318791c..e272dead 100644 --- a/src/templates/settings/application.html +++ b/src/templates/settings/application.html @@ -24,7 +24,7 @@
- +