mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 19:31:58 +00:00
js: Use ES6 object literal shorthand syntax.
Generated by ESLint. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -103,10 +103,10 @@ exports.build_widget = function (
|
||||
return {
|
||||
// Call back to clear() in situations like adding bots, when
|
||||
// we want to use the same widget over and over again.
|
||||
clear: clear,
|
||||
clear,
|
||||
// Call back to close() when you are truly done with the widget,
|
||||
// so you can release handlers.
|
||||
close: close,
|
||||
close,
|
||||
};
|
||||
};
|
||||
exports.build_direct_upload_widget = function (
|
||||
|
||||
Reference in New Issue
Block a user