Skip to content

Commit

Permalink
Key space var name change
Browse files Browse the repository at this point in the history
  • Loading branch information
dmazur committed Jan 4, 2016
1 parent 6e0a979 commit 563c247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default function init( analytics ) {
}

init.Integration = XNG;
let xngLibVersion = (window.xngVersion) ? window.xngVersion : 'xng';
let xngLibKeySpace = (window.xngKeySpace) ? window.xngKeySpace : 'xng';
let xngLibDomain = (window.xngBackendDomain) ? window.xngBackendDomain : 'test.crossengage.io';

var XNG = integration( 'CrossEngage' )
Expand All @@ -15,7 +15,7 @@ var XNG = integration( 'CrossEngage' )
.option( 'siteID', '' )
.option( 'adformID', '' )
.option( 'debug', true )
.tag( '<script src="https://' + xngLibDomain + '/xng/' + xngLibVersion + '.min.js">' );
.tag( '<script src="https://' + xngLibDomain + '/xng/' + xngLibKeySpace + '.min.js">' );

let mocked;

Expand Down

0 comments on commit 563c247

Please sign in to comment.