Pārlūkot izejas kodu

interface_config: add trailing commas and end marker

j8
Saúl Ibarra Corretgé 5 gadus atpakaļ
vecāks
revīzija
60148b6439
1 mainītis faili ar 8 papildinājumiem un 2 dzēšanām
  1. 8
    2
      interface_config.js

+ 8
- 2
interface_config.js Parādīt failu

@@ -207,12 +207,12 @@ var interfaceConfig = {
207 207
     * If this is set to false, the banner will not be rendered at all. If set to true, the check for extension(s)
208 208
     * being already installed is done before rendering.
209 209
     */
210
-    SHOW_CHROME_EXTENSION_BANNER: false
210
+    SHOW_CHROME_EXTENSION_BANNER: false,
211 211
 
212 212
     /**
213 213
      * When enabled, the kick participant button will not be presented for users without a JWT
214 214
      */
215
-    // HIDE_KICK_BUTTON_FOR_GUESTS: false
215
+    // HIDE_KICK_BUTTON_FOR_GUESTS: false,
216 216
 
217 217
     /**
218 218
      * How many columns the tile view can expand to. The respected range is
@@ -253,6 +253,12 @@ var interfaceConfig = {
253 253
      MOBILE_DYNAMIC_LINK
254 254
      PHONE_NUMBER_REGEX
255 255
     */
256
+
257
+    // Allow all above example options to include a trailing comma and
258
+    // prevent fear when commenting out the last value.
259
+    makeJsonParserHappy: 'even if last key had a trailing comma'
260
+
261
+    // no configuration value should follow this line.
256 262
 };
257 263
 
258 264
 /* eslint-enable no-unused-vars, no-var, max-len */

Notiek ielāde…
Atcelt
Saglabāt