2013-08-01 17:59:23 +02:00
|
|
|
var feature_flags = (function () {
|
|
|
|
|
|
|
|
var exports = {};
|
|
|
|
|
2013-08-23 20:39:11 +02:00
|
|
|
exports.mark_read_at_bottom = page_params.staging ||
|
|
|
|
_.contains(['mit.edu'], page_params.domain);
|
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-29 23:46:47 +02:00
|
|
|
exports.email_forwarding = page_params.staging ||
|
|
|
|
_.contains(['customer6.invalid'], page_params.domain);
|
2013-08-28 17:41:56 +02:00
|
|
|
exports.edit_appears_on_hover = true;
|
2013-08-15 18:31:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
exports.mandatory_topics = _.contains([
|
|
|
|
'customer7.invalid'
|
|
|
|
],
|
|
|
|
page_params.domain
|
|
|
|
);
|
|
|
|
|
2013-08-23 22:25:37 +02:00
|
|
|
exports.collapsible = page_params.staging;
|
2013-08-23 01:04:34 +02:00
|
|
|
|
2013-08-01 17:59:23 +02:00
|
|
|
return exports;
|
|
|
|
|
|
|
|
}());
|