2013-08-01 17:59:23 +02:00
|
|
|
var feature_flags = (function () {
|
|
|
|
|
|
|
|
var exports = {};
|
|
|
|
|
|
|
|
exports.mark_read_at_bottom = page_params.staging;
|
2013-07-25 22:08:16 +02:00
|
|
|
exports.summarize_read_while_narrowed = page_params.staging;
|
2013-08-09 18:02:03 +02:00
|
|
|
exports.twenty_four_hour_time = _.contains([],
|
|
|
|
page_params.email);
|
2013-08-10 04:42:53 +02:00
|
|
|
exports.dropbox_integration = page_params.staging || _.contains(['dropbox.com'], page_params.domain);
|
2013-08-12 21:13:07 +02:00
|
|
|
exports.email_forwarding = page_params.staging;
|
2013-08-15 23:43:16 +02:00
|
|
|
exports.edit_appears_on_hover = page_params.staging || _.contains(['customer7.invalid'], page_params.domain);
|
2013-08-15 18:31:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
exports.mandatory_topics = _.contains([
|
|
|
|
'zulip.com',
|
|
|
|
'customer7.invalid'
|
|
|
|
],
|
|
|
|
page_params.domain
|
|
|
|
);
|
|
|
|
|
2013-08-01 17:59:23 +02:00
|
|
|
return exports;
|
|
|
|
|
|
|
|
}());
|