Skip to content

Instantly share code, notes, and snippets.

@x3388638
Created May 22, 2019 02:09
Show Gist options
  • Save x3388638/d388ceaeafe52cbf28b381ac6a2c5b94 to your computer and use it in GitHub Desktop.
Save x3388638/d388ceaeafe52cbf28b381ac6a2c5b94 to your computer and use it in GitHub Desktop.
(function() {
var a = window.Af = window.Af || {};
var c = a.config = a.config || {};
c.spaceid = 'SPACEID';
c.transport = {
xhr: '/_td_api',
timeout: 3000
};
c.beacon = {
pathPrefix: '/_td_api/beacon',
sampleSize: 1
};
a.context = {
crumb: 'CRUMB',
rid: 'RID',
site: 'SITE',
lang: 'en-US',
region: 'US'
};
YMedia.use('base', 'af-applets', 'af-rapid', function(Y) {
var ApeApp = Y.Base.create('apeApp', Y.Base, [Y.Af.Applets, Y.Af.Rapid], {
initializer: function() {
Y.log('ApeApp.initializer()');
}
}, {});
YMedia.ApeApp = new ApeApp({
"i13nConfig": {
"rapid": {
"compr_on": false
}
}
});
});
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment