Move roomname generator to React

This commit is contained in:
Ilya Daynatovich 2016-11-29 18:08:22 +02:00 committed by Lyubomir Marinov
parent b646e8d213
commit 83dd56d34c
6 changed files with 9 additions and 4 deletions

4
app.js
View File

@ -24,7 +24,9 @@ const LogCollector = Logger.LogCollector;
import JitsiMeetLogStorage from "./modules/util/JitsiMeetLogStorage"; import JitsiMeetLogStorage from "./modules/util/JitsiMeetLogStorage";
import URLProcessor from "./modules/config/URLProcessor"; import URLProcessor from "./modules/config/URLProcessor";
import { generateRoomWithoutSeparator } from './modules/util/RoomnameGenerator'; import {
generateRoomWithoutSeparator
} from './react/features/base/util/roomnameGenerator';
import UI from "./modules/UI/UI"; import UI from "./modules/UI/UI";
import settings from "./modules/settings/Settings"; import settings from "./modules/settings/Settings";

View File

@ -25,7 +25,7 @@ import SettingsMenu from "./side_pannels/settings/SettingsMenu";
import Profile from "./side_pannels/profile/Profile"; import Profile from "./side_pannels/profile/Profile";
import Settings from "./../settings/Settings"; import Settings from "./../settings/Settings";
import RingOverlay from "./ring_overlay/RingOverlay"; import RingOverlay from "./ring_overlay/RingOverlay";
import { randomInt } from "../util/RandomUtil"; import { randomInt } from "../../react/features/base/util/randomUtil";
import UIErrors from './UIErrors'; import UIErrors from './UIErrors';
import { debounce } from "../util/helpers"; import { debounce } from "../util/helpers";

View File

@ -1,6 +1,8 @@
/* global $, interfaceConfig, APP */ /* global $, interfaceConfig, APP */
import { generateRoomWithoutSeparator } from '../../util/RoomnameGenerator'; import {
generateRoomWithoutSeparator
} from '../../../react/features/base/util/roomnameGenerator';
import UIUtil from '../util/UIUtil'; import UIUtil from '../util/UIUtil';
var animateTimeout, updateTimeout; var animateTimeout, updateTimeout;

View File

@ -1 +1,2 @@
export * from './loadScript'; export * from './loadScript';
export * from './roomnameGenerator';

View File

@ -1,4 +1,4 @@
import { randomElement } from './RandomUtil'; import { randomElement } from './randomUtil';
/* /*
const _NOUN_ = [ const _NOUN_ = [