浏览代码

interface_config: add trailing commas and end marker

j8
Saúl Ibarra Corretgé 5 年前
父节点
当前提交
60148b6439
共有 1 个文件被更改,包括 8 次插入2 次删除
  1. 8
    2
      interface_config.js

+ 8
- 2
interface_config.js 查看文件

207
     * If this is set to false, the banner will not be rendered at all. If set to true, the check for extension(s)
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
     * being already installed is done before rendering.
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
      * When enabled, the kick participant button will not be presented for users without a JWT
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
      * How many columns the tile view can expand to. The respected range is
218
      * How many columns the tile view can expand to. The respected range is
253
      MOBILE_DYNAMIC_LINK
253
      MOBILE_DYNAMIC_LINK
254
      PHONE_NUMBER_REGEX
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
 /* eslint-enable no-unused-vars, no-var, max-len */
264
 /* eslint-enable no-unused-vars, no-var, max-len */

正在加载...
取消
保存