added survey dialog. closes #1307

This commit is contained in:
Danny Coates 2019-04-26 13:30:33 -07:00
parent ce4157ac08
commit 20b9279eec
14 changed files with 113 additions and 32 deletions

View file

@ -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;