File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,18 +36,17 @@ var constructor = function () {
3636
3737 function initForwarder (
3838 settings ,
39- service ,
39+ _service ,
4040 testMode ,
41- trackerId ,
41+ _trackerId ,
4242 filteredUserAttributes
4343 ) {
4444 var accountId = settings . accountId ;
45- var sandboxMode = window . mParticle . getEnvironment ( ) === 'development' ;
4645 self . userAttributes = filteredUserAttributes ;
4746 self . onboardingExpProvider = settings . onboardingExpProvider ;
4847
4948 if ( testMode ) {
50- attachLauncher ( accountId , sandboxMode ) ;
49+ attachLauncher ( accountId ) ;
5150 return ;
5251 }
5352
@@ -68,7 +67,7 @@ var constructor = function () {
6867 typeof window . Rokt . createLauncher === 'function' &&
6968 window . Rokt . currentLauncher === undefined
7069 ) {
71- attachLauncher ( accountId , sandboxMode ) ;
70+ attachLauncher ( accountId ) ;
7271 } else {
7372 console . error (
7473 'Rokt object is not available after script load.'
@@ -155,16 +154,15 @@ var constructor = function () {
155154 delete self . userAttributes [ key ] ;
156155 }
157156
158- function attachLauncher ( accountId , sandboxMode ) {
157+ function attachLauncher ( accountId ) {
159158 window . Rokt . createLauncher ( {
160159 accountId : accountId ,
161- sandbox : sandboxMode ,
162160 integrationName :
163161 'mParticle_' +
164162 'wsdkv_' +
165163 window . mParticle . getVersion ( ) +
166164 '_kitv_' +
167- "1.2.0 " ,
165+ "1.2.1 " ,
168166 } )
169167 . then ( function ( launcher ) {
170168 // Assign the launcher to a global variable for later access
Original file line number Diff line number Diff line change @@ -35,18 +35,17 @@ var RoktKit = (function (exports) {
3535
3636 function initForwarder (
3737 settings ,
38- service ,
38+ _service ,
3939 testMode ,
40- trackerId ,
40+ _trackerId ,
4141 filteredUserAttributes
4242 ) {
4343 var accountId = settings . accountId ;
44- var sandboxMode = window . mParticle . getEnvironment ( ) === 'development' ;
4544 self . userAttributes = filteredUserAttributes ;
4645 self . onboardingExpProvider = settings . onboardingExpProvider ;
4746
4847 if ( testMode ) {
49- attachLauncher ( accountId , sandboxMode ) ;
48+ attachLauncher ( accountId ) ;
5049 return ;
5150 }
5251
@@ -67,7 +66,7 @@ var RoktKit = (function (exports) {
6766 typeof window . Rokt . createLauncher === 'function' &&
6867 window . Rokt . currentLauncher === undefined
6968 ) {
70- attachLauncher ( accountId , sandboxMode ) ;
69+ attachLauncher ( accountId ) ;
7170 } else {
7271 console . error (
7372 'Rokt object is not available after script load.'
@@ -154,16 +153,15 @@ var RoktKit = (function (exports) {
154153 delete self . userAttributes [ key ] ;
155154 }
156155
157- function attachLauncher ( accountId , sandboxMode ) {
156+ function attachLauncher ( accountId ) {
158157 window . Rokt . createLauncher ( {
159158 accountId : accountId ,
160- sandbox : sandboxMode ,
161159 integrationName :
162160 'mParticle_' +
163161 'wsdkv_' +
164162 window . mParticle . getVersion ( ) +
165163 '_kitv_' +
166- "1.2.0 " ,
164+ "1.2.1 " ,
167165 } )
168166 . then ( function ( launcher ) {
169167 // Assign the launcher to a global variable for later access
You can’t perform that action at this time.
0 commit comments