Files
zulip/static/js/feature_flags.js
Tim Abbott 2eacc7317d reload: Remove cleanup_before_reload logic.
Zulip's logic for garbage-collecting data structures before reloading
was a fix for a Chrome memory leak that lasted across reloads a few
years ago.  That memory leak is probably now fixed, and thus logic is
causing lots of JavaScript tracebacks that are probably not useful.

So, let's try removing this cleanup logic (everything but the
still-useful deletion of the event queue).
2017-03-27 13:23:10 -07:00

31 lines
779 B
JavaScript

var feature_flags = (function () {
var exports = {};
// Manually-flipped debugging flags
exports.log_send_times = false;
exports.collect_send_times = false;
exports.local_echo = true;
// Experimental modification to support much wider message views.
exports.full_width = false;
// Beta rewrite of the Bot UI; probably worth finishing and deploying
exports.new_bot_ui = false;
// The features below have all settled into their final states and can
// be removed when we get a chance
exports.mark_read_at_bottom = true;
exports.propagate_topic_edits = true;
exports.clicking_notification_causes_narrow = true;
exports.collapsible = false;
exports.dropbox_integration = false;
return exports;
}());
if (typeof module !== 'undefined') {
module.exports = feature_flags;
}