diff --git a/.eslintrc b/.eslintrc index 5751f3ad..a69e01de 100644 --- a/.eslintrc +++ b/.eslintrc @@ -33,7 +33,6 @@ "react/wrap-multilines": 1 }, "globals": { - "Intercom": true, "fetch": true, "require": true, "File": true diff --git a/index.html b/index.html index 2692c00f..a6a007c5 100644 --- a/index.html +++ b/index.html @@ -31,13 +31,6 @@
- - - diff --git a/js/app.js b/js/app.js index 4d950d74..29558be2 100644 --- a/js/app.js +++ b/js/app.js @@ -25,7 +25,6 @@ import EventActions from './actions/event_actions'; // You can comment out the modules you don't need // import DebugHandler from './third_party/debug_handler'; import FacebookHandler from './third_party/facebook_handler'; -import IntercomHandler from './third_party/intercom_handler'; import NotificationsHandler from './third_party/notifications_handler'; import RavenHandler from './third_party/raven_handler'; diff --git a/js/components/ascribe_detail/edition.js b/js/components/ascribe_detail/edition.js index 178fd18a..4ce6e3ba 100644 --- a/js/components/ascribe_detail/edition.js +++ b/js/components/ascribe_detail/edition.js @@ -230,13 +230,6 @@ let CoaDetails = React.createClass({ coaError: React.PropTypes.object }, - contactOnIntercom() { - const { coaError, editionId } = this.props; - - window.Intercom('showNewMessage', getLangText("Hi, I'm having problems generating a Certificate of Authenticity for Edition: %s", editionId)); - console.logGlobal(new Error(`Coa couldn't be created for edition: ${editionId}`), coaError); - }, - render() { const { coa, coaError } = this.props; let coaDetailElement; @@ -246,7 +239,7 @@ let CoaDetails = React.createClass({

{getLangText('There was an error generating your Certificate of Authenticity.')}

,

{getLangText('Try to refresh the page. If this happens repeatedly, please ')} - {getLangText('contact us')}. + {getLangText('contact us')}.

]; } else if (coa && coa.url_safe) { diff --git a/js/components/ascribe_uploader/ascribe_file_drag_and_drop/file_drag_and_drop_error_dialog.js b/js/components/ascribe_uploader/ascribe_file_drag_and_drop/file_drag_and_drop_error_dialog.js index a88d2e35..dd028ed2 100644 --- a/js/components/ascribe_uploader/ascribe_file_drag_and_drop/file_drag_and_drop_error_dialog.js +++ b/js/components/ascribe_uploader/ascribe_file_drag_and_drop/file_drag_and_drop_error_dialog.js @@ -17,18 +17,12 @@ let FileDragAndDropErrorDialog = React.createClass({ handleRetryFiles: React.PropTypes.func.isRequired }, - getRetryButton(text, openIntercom) { + getRetryButton(text) { return ( ); diff --git a/js/components/whitelabel/wallet/components/market/market_error_consign_unavailable.js b/js/components/whitelabel/wallet/components/market/market_error_consign_unavailable.js index 13fbc43e..f43b0b71 100644 --- a/js/components/whitelabel/wallet/components/market/market_error_consign_unavailable.js +++ b/js/components/whitelabel/wallet/components/market/market_error_consign_unavailable.js @@ -13,10 +13,6 @@ const MarketErrorConsignUnavailable = React.createClass({ handleSuccess: React.PropTypes.func }, - contactOnIntercom() { - window.Intercom('showNewMessage', getLangText("Hi, I'm having problems consigning to %s", this.props.whitelabelName)); - }, - render() { const { editions, handleSuccess, whitelabelName } = this.props; const multipleEditions = editions.length > 1; @@ -39,7 +35,7 @@ const MarketErrorConsignUnavailable = React.createClass({ {getLangText('If this seems incorrect, or if you would still like to consign %s to %s, please ', multipleEditions ? 'these Editions' : 'this Edition', whitelabelName)} - {getLangText('contact us')}. + {getLangText('contact us')}.