added survey dialog. closes #1307
This commit is contained in:
parent
ce4157ac08
commit
20b9279eec
14 changed files with 113 additions and 32 deletions
|
@ -1,5 +1,5 @@
|
|||
import storage from './storage';
|
||||
import { platform } from './utils';
|
||||
import { platform, locale } from './utils';
|
||||
import { sendMetrics } from './api';
|
||||
|
||||
let appState = null;
|
||||
|
@ -7,7 +7,7 @@ let appState = null;
|
|||
const HOUR = 1000 * 60 * 60;
|
||||
const events = [];
|
||||
let session_id = Date.now();
|
||||
const lang = document.querySelector('html').lang;
|
||||
const lang = locale();
|
||||
|
||||
export default function initialize(state, emitter) {
|
||||
appState = state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue