bot_data: Rename delete to del.

`delete` is a reserved keyword that would interfere with the migration
to an ES6 module.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2018-08-04 02:04:24 -04:00
committed by Tim Abbott
parent b8839302c0
commit bde31a54c7
4 changed files with 4 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ var bot_data = (function () {
send_change_event();
};
exports.delete = function bot_data__delete(bot_id) {
exports.del = function bot_data__del(bot_id) {
delete bots[bot_id];
delete services[bot_id];
send_change_event();