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-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-09-04 20:30:33 +02:00
|
|
|
exports.propagate_topic_edits = page_params.staging ||
|
|
|
|
_.contains(['customer7.invalid'], page_params.domain);
|
|
|
|
|
2013-09-07 04:22:18 +02:00
|
|
|
exports.fade_users_when_composing = page_params.staging;
|
2013-09-03 15:16:00 +02:00
|
|
|
|
|
|
|
exports.alert_words = page_params.staging ||
|
|
|
|
_.contains(['reddit.com'], page_params.domain);
|
|
|
|
|
2013-08-01 17:59:23 +02:00
|
|
|
return exports;
|
|
|
|
|
|
|
|
}());
|