1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-17 11:25:31 +02:00
This commit is contained in:
syuilo
2020-09-06 14:33:51 +09:00
parent 0d99d8f8e5
commit 339a7d64d7
5 changed files with 6 additions and 15 deletions

View File

@@ -3,6 +3,9 @@ import Stream from '@/scripts/stream';
import { store } from '@/store';
import { apiUrl } from '@/config';
const ua = navigator.userAgent.toLowerCase();
export const isMobile = /mobile|iphone|ipad|android/.test(ua);
export const stream = new Stream();
export const dialogCallbacks = {};