mediawiki-extensions-Templa.../modules
thiemowmde bd08464c45 Simplify .length and "is empty" checks in JavaScript
I actually find this easier to read, to be honest. It also makes the
code a little more robust, e.g. undefined and the empty string are
both considered empty.

Note that unlike in PHP the string "0" is not empty in JavaScript.

Change-Id: I2961287c2798b8bb0f6992e002f5a6f333889448
2024-11-21 11:06:28 +01:00
..
ext.templateData Left align caption and put [Edit template data] inline 2023-08-05 15:13:22 +01:00
ext.templateData.images Organise resource files in directories after their module bundles 2020-03-15 15:21:39 +00:00
ext.templateDataGenerator.data Simplify .length and "is empty" checks in JavaScript 2024-11-21 11:06:28 +01:00
ext.templateDataGenerator.editPage Organise resource files in directories after their module bundles 2020-03-15 15:21:39 +00:00
ext.templateDataGenerator.editTemplatePage Simplify .length and "is empty" checks in JavaScript 2024-11-21 11:06:28 +01:00
.eslintrc.json eslint: Enforce no-var 2024-09-18 14:52:26 +01:00