fix: some exports to make it work with webpack 2
This commit is contained in:
parent
4d329b510f
commit
c8c44d62ed
63
app.js
63
app.js
|
@ -1,65 +1,44 @@
|
|||
/* application specific logic */
|
||||
|
||||
import "jquery";
|
||||
import "jquery-contextmenu";
|
||||
import "jquery-ui";
|
||||
import "strophe";
|
||||
import "strophe-disco";
|
||||
import "jQuery-Impromptu";
|
||||
import "autosize";
|
||||
import 'jquery';
|
||||
import 'jquery-contextmenu';
|
||||
import 'jquery-ui';
|
||||
import 'strophe';
|
||||
import 'strophe-disco';
|
||||
import 'jQuery-Impromptu';
|
||||
import 'autosize';
|
||||
|
||||
import 'aui';
|
||||
import 'aui-experimental';
|
||||
import 'aui-css';
|
||||
import 'aui-experimental-css';
|
||||
|
||||
window.toastr = require("toastr");
|
||||
window.toastr = require('toastr');
|
||||
|
||||
export conference from './conference';
|
||||
export API from './modules/API';
|
||||
export keyboardshortcut from './modules/keyboardshortcut/keyboardshortcut';
|
||||
export remoteControl from "./modules/remotecontrol/RemoteControl";
|
||||
export settings from "./modules/settings/Settings";
|
||||
export translation from "./modules/translation/translation";
|
||||
export UI from "./modules/UI/UI";
|
||||
export remoteControl from './modules/remotecontrol/RemoteControl';
|
||||
export settings from './modules/settings/Settings';
|
||||
export translation from './modules/translation/translation';
|
||||
export UI from './modules/UI/UI';
|
||||
|
||||
/**
|
||||
* After the APP has been initialized provides utility methods for dealing
|
||||
* with the conference room URL(address).
|
||||
* @type ConferenceUrl
|
||||
*/
|
||||
export let ConferenceUrl = null;
|
||||
|
||||
// Used by do_external_connect.js if we receive the attach data after
|
||||
// connect was already executed. status property can be "initialized",
|
||||
// "ready" or "connecting". We are interested in "ready" status only which
|
||||
// means that connect was executed but we have to wait for the attach data.
|
||||
// In status "ready" handler property will be set to a function that will
|
||||
// finish the connect process when the attach data or error is received.
|
||||
// Used by do_external_connect.js if we receive the attach data after connect
|
||||
// was already executed. status property can be 'initialized', 'ready', or
|
||||
// 'connecting'. We are interested in 'ready' status only which means that
|
||||
// connect was executed but we have to wait for the attach data. In status
|
||||
// 'ready' handler property will be set to a function that will finish the
|
||||
// connect process when the attach data or error is received.
|
||||
export const connect = {
|
||||
status: "initialized",
|
||||
handler: null
|
||||
handler: null,
|
||||
status: 'initialized'
|
||||
};
|
||||
|
||||
export let connection = null;
|
||||
|
||||
// Used for automated performance tests
|
||||
export const connectionTimes = {
|
||||
"index.loaded": window.indexLoadedTime
|
||||
'index.loaded': window.indexLoadedTime
|
||||
};
|
||||
|
||||
/**
|
||||
* The log collector which captures JS console logs for this app.
|
||||
* @type {LogCollector}
|
||||
*/
|
||||
export let logCollector = null;
|
||||
|
||||
/**
|
||||
* Indicates if the log collector has been started (it will not be started
|
||||
* if the welcome page is displayed).
|
||||
*/
|
||||
export let logCollectorStarted = false;
|
||||
|
||||
// TODO The execution of the mobile app starts from react/index.native.js.
|
||||
// Similarly, the execution of the Web app should start from react/index.web.js
|
||||
// for the sake of consistency and ease of understanding. Temporarily though
|
||||
|
|
|
@ -21,7 +21,7 @@ export default class JitsiMeetLogStorage {
|
|||
* <tt>false</tt> otherwise.
|
||||
*/
|
||||
isReady() {
|
||||
return APP.logCollectorStarted && APP.conference;
|
||||
return Boolean(APP.logCollectorStarted && APP.conference);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
export * from './actions';
|
||||
export * from './actionTypes';
|
||||
export * from './components';
|
||||
export * from './functions';
|
||||
|
||||
|
|
Loading…
Reference in New Issue