Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

Commit

Permalink
fix(vendor-block): Remove error monitoring to prevent blocking of ven…
Browse files Browse the repository at this point in the history
…dor bundle from iOS and Safari
  • Loading branch information
alexander-heimbuch committed Jan 4, 2018
1 parent 069ae52 commit 1c427c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@
"mobile-detect": "1.3.6",
"normalize.css": "6.0.0",
"query-string": "4.3.1",
"raven-for-redux": "1.0.0",
"raven-js": "3.16.0",
"redux": "3.5.2",
"revue": "3.0.0",
"scroll-into-view": "^1.9.1",
Expand Down Expand Up @@ -130,7 +128,6 @@
"engines": {
"node": ">=5.0.0"
},
"sentry": "https://03bb03b146f34e8e96194a92572c0329@sentry.io/182383",
"ava": {
"files": [
"src/**/*.test.js"
Expand Down
10 changes: 1 addition & 9 deletions src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,13 @@ import Vue from 'vue'
import Revue from 'revue'
import { createStore, applyMiddleware, compose } from 'redux'

import Raven from 'raven-js'
import createRavenMiddleware from 'raven-for-redux'

import { sentry, version } from '../../package.json'
import reducers from './reducers'
import actions from './actions'
import effects from './effects'

Raven.config(sentry, { release: version, ignoreUrls: ['localhost'] }).install()

const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose

const reduxStore = createStore(reducers, composeEnhancers(
applyMiddleware(createRavenMiddleware(Raven), effects)
))
const reduxStore = createStore(reducers, composeEnhancers(applyMiddleware(effects)))

const store = new Revue(Vue, reduxStore, actions)

Expand Down

0 comments on commit 1c427c4

Please sign in to comment.