a new approach for the ui
This commit is contained in:
parent
cc85486414
commit
f0cfc19f8c
34 changed files with 2246 additions and 146 deletions
|
@ -34,6 +34,15 @@ import User from './user';
|
|||
window.appState = state;
|
||||
window.appEmit = emitter.emit.bind(emitter);
|
||||
let unsupportedReason = null;
|
||||
|
||||
emitter.on('render', () => {
|
||||
if (state.animation) {
|
||||
window.requestAnimationFrame(() => {
|
||||
state.animation();
|
||||
state.animation = null;
|
||||
});
|
||||
}
|
||||
});
|
||||
if (
|
||||
// Firefox < 50
|
||||
/firefox/i.test(navigator.userAgent) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue