1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01:00

Fix code after review

This commit is contained in:
vrde 2015-07-27 18:21:20 +02:00
parent c2601f242f
commit 17ec6f34e0
3 changed files with 11 additions and 6 deletions

View File

@ -5,7 +5,9 @@ require('babel/polyfill');
import React from 'react';
import Router from 'react-router';
/* eslint-disable */
import fetch from 'isomorphic-fetch';
/* eslint-enable */
import ApiUrls from './constants/api_urls';
import { updateApiUrls } from './constants/api_urls';
@ -17,10 +19,14 @@ import { getSubdomainSettings } from './utils/constants_utils';
import { initLogging } from './utils/error_utils';
import EventActions from './actions/event_actions';
// require('./third_party/debug');
require('./third_party/ga');
require('./third_party/raven');
require('./third_party/intercom');
/* eslint-disable */
// You can comment out the modules you don't need
// import DebugHandler from './third_party/debug';
import GoogleAnalyticsHandler from './third_party/ga';
import RavenHandler from './third_party/raven';
import IntercomHandler from './third_party/intercom';
/* eslint-enable */
initLogging();

View File

@ -10,7 +10,6 @@ class GoogleAnalyticsHandler {
}
onRouteDidChange() {
console.log(window.location.href);
window.ga('send', 'pageview');
}

View File

@ -16,7 +16,7 @@ class IntercomHandler {
}
/* eslint-disable */
window.Intercom('boot', {
Intercom('boot', {
/* eslint-enable */
app_id: 'oboxh5w1',
email: profile.email,