mediawiki-extensions-Templa.../modules/ext.templateDataGenerator.editTemplatePage
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
..
widgets Simplify .length and "is empty" checks in JavaScript 2024-11-21 11:06:28 +01:00
.eslintrc.json build: Updating npm dependencies 2024-06-22 11:16:08 +00:00
Dialog.js Simplify .length and "is empty" checks in JavaScript 2024-11-21 11:06:28 +01:00
init.js eslint: Enforce no-var 2024-09-18 14:52:26 +01:00
Metrics.js eslint: Enforce no-var 2024-09-18 14:52:26 +01:00
Target.js Remove unnecessary context variables 2024-09-18 14:54:33 +01:00
templateDataGenerator.placeholder.less stylelint: Enable selector-pseudo-element-colon-notation 2023-03-30 01:01:00 +02:00
templateDataGenerator.ui.less Add top margin to "Edit template data" button 2024-09-19 13:52:58 +01:00