Consistent middleware and reducer imports

This commit is contained in:
Lyubomir Marinov 2017-02-10 11:04:40 -06:00
parent e29db31d91
commit 55a8b44224
24 changed files with 31 additions and 21 deletions

View File

@ -8,7 +8,6 @@ import {
_parseURIString, _parseURIString,
init init
} from './functions'; } from './functions';
import './reducer';
/** /**
* Temporary solution. Should dispatch actions related to initial settings of * Temporary solution. Should dispatch actions related to initial settings of

View File

@ -2,3 +2,5 @@ export * from './actions';
export * from './actionTypes'; export * from './actionTypes';
export * from './components'; export * from './components';
export * from './functions'; export * from './functions';
import './reducer';

View File

@ -5,8 +5,6 @@ import {
_SET_BACKGROUND_VIDEO_MUTED, _SET_BACKGROUND_VIDEO_MUTED,
APP_STATE_CHANGED APP_STATE_CHANGED
} from './actionTypes'; } from './actionTypes';
import './middleware';
import './reducer';
/** /**
* Signals that the App state has changed (in terms of execution state). The * Signals that the App state has changed (in terms of execution state). The

View File

@ -1,2 +1,5 @@
export * from './actions'; export * from './actions';
export * from './actionTypes'; export * from './actionTypes';
import './middleware';
import './reducer';

View File

@ -20,8 +20,6 @@ import {
} from './actionTypes'; } from './actionTypes';
import { EMAIL_COMMAND } from './constants'; import { EMAIL_COMMAND } from './constants';
import { _addLocalTracksToConference } from './functions'; import { _addLocalTracksToConference } from './functions';
import './middleware';
import './reducer';
/** /**
* Adds conference (event) listeners. * Adds conference (event) listeners.

View File

@ -1,3 +1,6 @@
export * from './actions'; export * from './actions';
export * from './actionTypes'; export * from './actionTypes';
export * from './functions'; export * from './functions';
import './middleware';
import './reducer';

View File

@ -11,7 +11,6 @@ import {
CONNECTION_FAILED, CONNECTION_FAILED,
SET_DOMAIN SET_DOMAIN
} from './actionTypes'; } from './actionTypes';
import './reducer';
const JitsiConnectionEvents = JitsiMeetJS.events.connection; const JitsiConnectionEvents = JitsiMeetJS.events.connection;

View File

@ -5,7 +5,6 @@ import type { Dispatch } from 'redux';
import UIEvents from '../../../../service/UI/UIEvents'; import UIEvents from '../../../../service/UI/UIEvents';
import { SET_DOMAIN } from './actionTypes'; import { SET_DOMAIN } from './actionTypes';
import './reducer';
declare var APP: Object; declare var APP: Object;
declare var JitsiMeetJS: Object; declare var JitsiMeetJS: Object;

View File

@ -1,3 +1,5 @@
export * from './actions'; export * from './actions';
export * from './actionTypes'; export * from './actionTypes';
export * from './functions'; export * from './functions';
import './reducer';

View File

@ -5,8 +5,6 @@ import {
LIB_INITIALIZED, LIB_INITIALIZED,
SET_CONFIG SET_CONFIG
} from './actionTypes'; } from './actionTypes';
import './middleware';
import './reducer';
/** /**
* Disposes lib-jitsi-meet. * Disposes lib-jitsi-meet.

View File

@ -6,3 +6,6 @@ export { JitsiMeetJS as default };
export * from './actions'; export * from './actions';
export * from './actionTypes'; export * from './actionTypes';
export * from './functions'; export * from './functions';
import './middleware';
import './reducer';

View File

@ -1,2 +1,2 @@
require('./polyfills-browser'); import './polyfills-browser';
require('./polyfills-browserify'); import './polyfills-browserify';

View File

@ -8,8 +8,6 @@ import {
SET_VIDEO_MUTED SET_VIDEO_MUTED
} from './actionTypes'; } from './actionTypes';
import { CAMERA_FACING_MODE } from './constants'; import { CAMERA_FACING_MODE } from './constants';
import './middleware';
import './reducer';
/** /**
* Action to set the muted state of the local audio. * Action to set the muted state of the local audio.

View File

@ -3,3 +3,6 @@ export * from './actionTypes';
export * from './components'; export * from './components';
export * from './constants'; export * from './constants';
export * from './functions'; export * from './functions';
import './middleware';
import './reducer';

View File

@ -7,8 +7,6 @@ import {
PIN_PARTICIPANT PIN_PARTICIPANT
} from './actionTypes'; } from './actionTypes';
import { getLocalParticipant } from './functions'; import { getLocalParticipant } from './functions';
import './middleware';
import './reducer';
/** /**
* Action to update a participant's email. * Action to update a participant's email.

View File

@ -2,3 +2,6 @@ export * from './actions';
export * from './actionTypes'; export * from './actionTypes';
export * from './constants'; export * from './constants';
export * from './functions'; export * from './functions';
import './middleware';
import './reducer';

View File

@ -10,8 +10,6 @@ import {
TRACK_REMOVED, TRACK_REMOVED,
TRACK_UPDATED TRACK_UPDATED
} from './actionTypes'; } from './actionTypes';
import './middleware';
import './reducer';
const JitsiTrackErrors = JitsiMeetJS.errors.track; const JitsiTrackErrors = JitsiMeetJS.errors.track;
const JitsiTrackEvents = JitsiMeetJS.events.track; const JitsiTrackEvents = JitsiMeetJS.events.track;

View File

@ -1,3 +1,6 @@
export * from './actions'; export * from './actions';
export * from './actionTypes'; export * from './actionTypes';
export * from './functions'; export * from './functions';
import './middleware';
import './reducer';

View File

@ -6,8 +6,6 @@ import {
} from '../base/tracks'; } from '../base/tracks';
import { SELECT_LARGE_VIDEO_PARTICIPANT } from './actionTypes'; import { SELECT_LARGE_VIDEO_PARTICIPANT } from './actionTypes';
import './middleware';
import './reducer';
/** /**
* Signals conference to select a participant. * Signals conference to select a participant.

View File

@ -1,2 +1,5 @@
export * from './actions'; export * from './actions';
export * from './components'; export * from './components';
import './middleware';
import './reducer';

View File

@ -1,7 +1,6 @@
import { setPassword } from '../base/conference'; import { setPassword } from '../base/conference';
import { BEGIN_ROOM_LOCK_REQUEST, END_ROOM_LOCK_REQUEST } from './actionTypes'; import { BEGIN_ROOM_LOCK_REQUEST, END_ROOM_LOCK_REQUEST } from './actionTypes';
import './reducer';
/** /**
* Begins a (user) request to lock a specific conference/room. * Begins a (user) request to lock a specific conference/room.

View File

@ -1,2 +1,4 @@
export * from './actions'; export * from './actions';
export * from './components'; export * from './components';
import './reducer';

View File

@ -1,5 +1,4 @@
import { DISMISS_MOBILE_APP_PROMO } from './actionTypes'; import { DISMISS_MOBILE_APP_PROMO } from './actionTypes';
import './reducer';
/** /**
* Returns a Redux action which signals that the UnsupportedMobileBrowser which * Returns a Redux action which signals that the UnsupportedMobileBrowser which

View File

@ -1,2 +1,4 @@
export * from './actions'; export * from './actions';
export * from './components'; export * from './components';
import './reducer';