Merge pull request #1702 from coreos-inc/olark

Remove old Olark code
This commit is contained in:
josephschorr 2016-08-10 15:13:47 -04:00 committed by GitHub
commit 32e90e1fa5

View file

@ -53,20 +53,6 @@ function(ApiService, CookieService, $rootScope, Config) {
}
}
if (window.olark !== undefined) {
try {
olark('api.visitor.getDetails', function(details) {
if (details.fullName === null) {
olark('api.visitor.updateFullName', {fullName: userResponse.username});
}
});
olark('api.visitor.updateEmailAddress', {emailAddress: userResponse.email});
olark('api.chat.updateVisitorStatus', {snippet: 'username: ' + userResponse.username});
} catch (e) {
window.console.log(e);
}
}
if (window.Raven !== undefined) {
try {
Raven.setUser({