File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -439,14 +439,20 @@ var constructor = function () {
439439 function isPartnerInLocalLauncherTestGroup ( ) {
440440 return (
441441 window . mParticle . config &&
442- window . mParticle . config . isLocalLauncherEnabled
442+ window . mParticle . config . isLocalLauncherEnabled &&
443+ _isAssignedToSampleGroup ( )
443444 ) ;
444445 }
446+
447+ function _isAssignedToSampleGroup ( ) {
448+ var LOCAL_LAUNCHER_TEST_GROUP_THRESHOLD = 0.5 ;
449+ return Math . random ( ) > LOCAL_LAUNCHER_TEST_GROUP_THRESHOLD ;
450+ }
445451} ;
446452
447453function generateIntegrationName ( customIntegrationName ) {
448454 var coreSdkVersion = window . mParticle . getVersion ( ) ;
449- var kitVersion = "1.9 .0" ;
455+ var kitVersion = "1.10 .0" ;
450456 var name = 'mParticle_' + 'wsdkv_' + coreSdkVersion + '_kitv_' + kitVersion ;
451457
452458 if ( customIntegrationName ) {
Original file line number Diff line number Diff line change @@ -438,14 +438,20 @@ var RoktKit = (function (exports) {
438438 function isPartnerInLocalLauncherTestGroup ( ) {
439439 return (
440440 window . mParticle . config &&
441- window . mParticle . config . isLocalLauncherEnabled
441+ window . mParticle . config . isLocalLauncherEnabled &&
442+ _isAssignedToSampleGroup ( )
442443 ) ;
443444 }
445+
446+ function _isAssignedToSampleGroup ( ) {
447+ var LOCAL_LAUNCHER_TEST_GROUP_THRESHOLD = 0.5 ;
448+ return Math . random ( ) > LOCAL_LAUNCHER_TEST_GROUP_THRESHOLD ;
449+ }
444450 } ;
445451
446452 function generateIntegrationName ( customIntegrationName ) {
447453 var coreSdkVersion = window . mParticle . getVersion ( ) ;
448- var kitVersion = "1.9 .0" ;
454+ var kitVersion = "1.10 .0" ;
449455 var name = 'mParticle_' + 'wsdkv_' + coreSdkVersion + '_kitv_' + kitVersion ;
450456
451457 if ( customIntegrationName ) {
You can’t perform that action at this time.
0 commit comments