Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
remove send app version of ga
Browse files Browse the repository at this point in the history
  • Loading branch information
ALiangLiang committed Mar 11, 2018
1 parent c8407da commit 3fe4380
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/tab/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ const elements = [ Slider, Loading, Button, Table, TableColumn, Tag, Tooltip,
elements.forEach((el) => Vue.use(el, { locale }))

// In Chrome extension, must close checking protocol.
const gaSet = [
{ field: 'checkProtocolTask', value: null },
{ field: 'appVersion', value: chrome.runtime.getManifest().version }
]
const gaSet = [{ field: 'checkProtocolTask', value: null }]
if (process.env.NODE_ENV !== 'production') {
// If not in production mode, don't send any data to ga service.
gaSet.push({ field: 'sendHitTask', value: null })
Expand Down

0 comments on commit 3fe4380

Please sign in to comment.