tracking compiler version

pull/1281/head
lianahus 3 years ago committed by GitHub
parent c40274f64c
commit cea459cd6f
  1. 2
      apps/remix-ide/src/app/tabs/compileTab/compilerContainer.js

@ -7,6 +7,7 @@ const addTooltip = require('../../ui/tooltip')
const semver = require('semver') const semver = require('semver')
const modalDialogCustom = require('../../ui/modal-dialog-custom') const modalDialogCustom = require('../../ui/modal-dialog-custom')
const css = require('../styles/compile-tab-styles') const css = require('../styles/compile-tab-styles')
const _paq = window._paq = window._paq || []
class CompilerContainer { class CompilerContainer {
constructor (compileTabLogic, editor, config, queryParams) { constructor (compileTabLogic, editor, config, queryParams) {
@ -111,6 +112,7 @@ class CompilerContainer {
this._view.compileIcon.setAttribute('title', 'idle') this._view.compileIcon.setAttribute('title', 'idle')
this._view.compileIcon.classList.remove(`${css.spinningIcon}`) this._view.compileIcon.classList.remove(`${css.spinningIcon}`)
this._view.compileIcon.classList.remove(`${css.bouncingIcon}`) this._view.compileIcon.classList.remove(`${css.bouncingIcon}`)
_paq.push(['trackEvent', 'compiler', `compiled_with_v_${this._retrieveVersion()}`])
}) })
} }

Loading…
Cancel
Save