feat: Use fastclick (close #1883)
This commit is contained in:
Родитель
78a50504ed
Коммит
157ca55363
|
@ -183,6 +183,7 @@
|
|||
"es6-error": "4.0.2",
|
||||
"express": "4.14.1",
|
||||
"extract-text-webpack-plugin": "1.0.1",
|
||||
"fastclick": "1.0.6",
|
||||
"helmet": "3.4.0",
|
||||
"humps": "2.0.0",
|
||||
"isomorphic-fetch": "2.2.1",
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
import 'babel-polyfill';
|
||||
import config from 'config';
|
||||
import FastClick from 'fastclick';
|
||||
import RavenJs from 'raven-js';
|
||||
import React from 'react';
|
||||
import { render } from 'react-dom';
|
||||
|
@ -16,6 +17,8 @@ import log from 'core/logger';
|
|||
|
||||
|
||||
export default function makeClient(routes, createStore) {
|
||||
FastClick.attach(document.body);
|
||||
|
||||
const publicSentryDsn = config.get('publicSentryDsn');
|
||||
if (publicSentryDsn) {
|
||||
log.info(`Configured client-side Sentry with DSN ${publicSentryDsn}`);
|
||||
|
|
Загрузка…
Ссылка в новой задаче