File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,18 +32,17 @@ var constructor = function () {
3232
3333 function initForwarder (
3434 settings ,
35- service ,
35+ _service ,
3636 testMode ,
37- trackerId ,
37+ _trackerId ,
3838 filteredUserAttributes
3939 ) {
4040 var accountId = settings . accountId ;
41- var sandboxMode = window . mParticle . getEnvironment ( ) === 'development' ;
4241 self . userAttributes = filteredUserAttributes ;
4342 self . onboardingExpProvider = settings . onboardingExpProvider ;
4443
4544 if ( testMode ) {
46- attachLauncher ( accountId , sandboxMode ) ;
45+ attachLauncher ( accountId ) ;
4746 return ;
4847 }
4948
@@ -64,7 +63,7 @@ var constructor = function () {
6463 typeof window . Rokt . createLauncher === 'function' &&
6564 window . Rokt . currentLauncher === undefined
6665 ) {
67- attachLauncher ( accountId , sandboxMode ) ;
66+ attachLauncher ( accountId ) ;
6867 } else {
6968 console . error (
7069 'Rokt object is not available after script load.'
@@ -151,10 +150,9 @@ var constructor = function () {
151150 delete self . userAttributes [ key ] ;
152151 }
153152
154- function attachLauncher ( accountId , sandboxMode ) {
153+ function attachLauncher ( accountId ) {
155154 window . Rokt . createLauncher ( {
156155 accountId : accountId ,
157- sandbox : sandboxMode ,
158156 integrationName :
159157 'mParticle_' +
160158 'wsdkv_' +
You can’t perform that action at this time.
0 commit comments