dict: Add documentation for why we have dict.js.

This commit is contained in:
Tim Abbott 2018-02-05 10:16:09 -08:00
parent 19acc17f7e
commit 6e0f3a9d75
1 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,8 @@
/* Constructs a new Dict object.
*
* This module primarily exists to support the fold_case option,
* because so many string keys in Zulip are case-insensitive (emails,
* stream names, topics, etc.).
*
* Dict(opt) -> the new Dict will be empty
*