pokemon-showdown/chat-plugins
Guangcong Luo 54b672fe4e Start refactoring for template strings
This commit introduces Tools.html and Tools.plural, helper functions
for string construction.

Tools.html is a template tag function that escapes HTML inside the
template string.

Tools.plural is a helper function that takes a passed Number, Array,
Set, or Map and returns a string representing whether or not it's
plural.

It also starts doing some refactors of some files to make it clear how
I expect code style for template strings to look.

Previously, we used ' for IDs, " for English text, and ' for code.

We should now be using ' for IDs, ` for English text, and ` for code.
2016-08-28 04:35:43 -05:00
..
COMMANDS.md Improvements to command broadcast API 2016-04-02 15:46:13 -05:00
datasearch.js Update help commands to reflect new bot rank (#2634) 2016-07-20 19:50:47 -06:00
hangman.js Update help commands to reflect new bot rank (#2634) 2016-07-20 19:50:47 -06:00
info.js Start refactoring for template strings 2016-08-28 04:35:43 -05:00
jeopardy.js Update help commands to reflect new bot rank (#2634) 2016-07-20 19:50:47 -06:00
mafia-data.js Lint: Use latest version and features of ESLint 2016-08-03 01:24:36 -05:00
mafia.js Lint: Use latest version and features of ESLint 2016-08-03 01:24:36 -05:00
poll.js Add help command for /poll htmlcreate" (#2715) 2016-08-25 06:23:09 -05:00
roomsettings.js Refactor command-parser checkFormat function (#2687) 2016-08-10 15:15:32 -05:00
scavengers.js Remove direct Rooms.rooms.scavengers lookup 2016-08-08 01:22:10 -05:00
tcgtabletop.js Lint: Add miscellaneous extra rules 2016-04-25 21:52:21 -05:00
thehappyplace.js Improvements to command broadcast API 2016-04-02 15:46:13 -05:00
thestudio.js Update help commands to reflect new bot rank (#2634) 2016-07-20 19:50:47 -06:00
trivia.js Trivia: adjust question database command permissions (#2717) 2016-08-27 01:34:32 -05:00
wifi.js Wifi: Improve the sprite previews for giveaways 2016-08-27 23:28:44 +02:00