Created
June 29, 2016 18:49
-
-
Save jsantell/e00567f0100e1eb9c78f0407d034d42e to your computer and use it in GitHub Desktop.
segmentation.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
from: Date, | |
to: Date, | |
experiments: [ | |
// Some experiments may not need to update, but just set some local flags | |
{ | |
name: 'no-tabs', | |
// Some segmentation groups may need a specific runtime (platform, screen dimensions, memory, location) | |
requirements: { | |
platform: platform => platform === 'darwin', | |
language: language => language === 'en-US' || language === 'en-GB', | |
}, | |
flags: { | |
hideTabs: true | |
}, | |
}, | |
// Some experiments may have to update the entire application | |
{ | |
name: 'big-tabs', | |
hash: '654321', // Could also be an update/download URL instead | |
requirements: {}, | |
flags: {}, | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment