added bleach to the lib

pull/5370/head
lianahus 4 years ago committed by Liana Husikyan
parent b25aae5c38
commit f7e5676d9a
  1. 2
      apps/debugger/src/app/debugger-api.ts
  2. 2
      apps/remix-ide/src/app/tabs/debugger-tab.js

@ -9,7 +9,7 @@ export const DebuggerApiMixin = (Base) => class extends Base {
const self = this const self = this
this.web3Provider = { this.web3Provider = {
sendAsync(payload, callback) { sendAsync (payload, callback) {
self.call('web3Provider', 'sendAsync', payload) self.call('web3Provider', 'sendAsync', payload)
.then(result => callback(null, result)) .then(result => callback(null, result))
.catch(e => callback(e)) .catch(e => callback(e))

@ -8,7 +8,7 @@ import ReactDOM from 'react-dom'
import modalDialogCustom from '../ui/modal-dialog-custom' import modalDialogCustom from '../ui/modal-dialog-custom'
const yo = require('yo-yo') const yo = require('yo-yo')
const css = require('./styles/debugger-tab-styles') const css = require('./styles/debugger-tab-styles')
const bleach = require('bleach'); import bleach from '../../lib/bleach'
const profile = { const profile = {
name: 'debugger', name: 'debugger',

Loading…
Cancel
Save