()
| 85 | } |
| 86 | |
| 87 | const setTestGroupNumberUS = function () { |
| 88 | if (me && (me.get('country') === 'united-states') && (me.get('testGroupNumberUS') == null)) { |
| 89 | // Assign testGroupNumberUS to returning visitors; new ones in server/models/User |
| 90 | me.set('testGroupNumberUS', Math.floor(Math.random() * 256)) |
| 91 | return me.patch() |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | init() |