Fix up controller requires

pull/190/head
David Baker 7 years ago
parent dd4cfb25f8
commit 40594fc5fa
  1. 2
      src/skins/vector/views/atoms/EditableText.js
  2. 2
      src/skins/vector/views/atoms/EnableNotificationsButton.js
  3. 2
      src/skins/vector/views/atoms/ImageView.js
  4. 2
      src/skins/vector/views/atoms/LogoutButton.js
  5. 2
      src/skins/vector/views/atoms/MemberAvatar.js
  6. 2
      src/skins/vector/views/atoms/MessageTimestamp.js
  7. 2
      src/skins/vector/views/atoms/RoomAvatar.js
  8. 2
      src/skins/vector/views/atoms/create_room/CreateRoomButton.js
  9. 2
      src/skins/vector/views/atoms/create_room/Presets.js
  10. 2
      src/skins/vector/views/atoms/create_room/RoomAlias.js
  11. 2
      src/skins/vector/views/atoms/voip/VideoFeed.js
  12. 2
      src/skins/vector/views/molecules/ChangeAvatar.js
  13. 2
      src/skins/vector/views/molecules/ChangePassword.js
  14. 2
      src/skins/vector/views/molecules/EventAsTextTile.js
  15. 2
      src/skins/vector/views/molecules/MEmoteTile.js
  16. 2
      src/skins/vector/views/molecules/MFileTile.js
  17. 2
      src/skins/vector/views/molecules/MImageTile.js
  18. 2
      src/skins/vector/views/molecules/MNoticeTile.js
  19. 2
      src/skins/vector/views/molecules/MRoomMemberTile.js
  20. 2
      src/skins/vector/views/molecules/MTextTile.js
  21. 2
      src/skins/vector/views/molecules/MatrixToolbar.js
  22. 2
      src/skins/vector/views/molecules/MemberInfo.js
  23. 2
      src/skins/vector/views/molecules/MemberTile.js
  24. 2
      src/skins/vector/views/molecules/MessageComposer.js
  25. 2
      src/skins/vector/views/molecules/MessageTile.js
  26. 2
      src/skins/vector/views/molecules/ProgressBar.js
  27. 2
      src/skins/vector/views/molecules/RoomCreate.js
  28. 2
      src/skins/vector/views/molecules/RoomDropTarget.js
  29. 2
      src/skins/vector/views/molecules/RoomHeader.js
  30. 2
      src/skins/vector/views/molecules/RoomSettings.js
  31. 2
      src/skins/vector/views/molecules/RoomTile.js
  32. 2
      src/skins/vector/views/molecules/SenderProfile.js
  33. 2
      src/skins/vector/views/molecules/ServerConfig.js
  34. 2
      src/skins/vector/views/molecules/UnknownMessageTile.js
  35. 2
      src/skins/vector/views/molecules/UserSelector.js
  36. 2
      src/skins/vector/views/molecules/voip/CallView.js
  37. 4
      src/skins/vector/views/molecules/voip/VideoView.js
  38. 2
      src/skins/vector/views/organisms/CreateRoom.js
  39. 2
      src/skins/vector/views/organisms/ErrorDialog.js
  40. 2
      src/skins/vector/views/organisms/LogoutPrompt.js
  41. 2
      src/skins/vector/views/organisms/MemberList.js
  42. 2
      src/skins/vector/views/organisms/Notifier.js
  43. 2
      src/skins/vector/views/organisms/QuestionDialog.js
  44. 2
      src/skins/vector/views/organisms/RoomList.js
  45. 2
      src/skins/vector/views/organisms/RoomView.js
  46. 2
      src/skins/vector/views/organisms/UserSettings.js
  47. 2
      src/skins/vector/views/pages/MatrixChat.js
  48. 2
      src/skins/vector/views/templates/Login.js
  49. 2
      src/skins/vector/views/templates/Register.js

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var EditableTextController = require("../../../../src/controllers/atoms/EditableText");
var EditableTextController = require('matrix-react-sdk/lib/controllers/atoms/EditableText')
module.exports = React.createClass({
displayName: 'EditableText',

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var EnableNotificationsButtonController = require("../../../../src/controllers/atoms/EnableNotificationsButton");
var EnableNotificationsButtonController = require('matrix-react-sdk/lib/controllers/atoms/EnableNotificationsButton')
module.exports = React.createClass({
displayName: 'EnableNotificationsButton',

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var ImageViewController = require("../../../../src/controllers/atoms/ImageView");
var ImageViewController = require('matrix-react-sdk/lib/controllers/atoms/ImageView')
module.exports = React.createClass({
displayName: 'ImageView',

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var LogoutButtonController = require("../../../../src/controllers/atoms/LogoutButton");
var LogoutButtonController = require('matrix-react-sdk/lib/controllers/atoms/LogoutButton')
module.exports = React.createClass({
displayName: 'LogoutButton',

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var MemberAvatarController = require("../../../../src/controllers/atoms/MemberAvatar");
var MemberAvatarController = require('matrix-react-sdk/lib/controllers/atoms/MemberAvatar')
module.exports = React.createClass({
displayName: 'MemberAvatar',

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var MessageTimestampController = require("../../../../src/controllers/atoms/MessageTimestamp");
var MessageTimestampController = require('matrix-react-sdk/lib/controllers/atoms/MessageTimestamp')
module.exports = React.createClass({
displayName: 'MessageTimestamp',

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var RoomAvatarController = require("../../../../src/controllers/atoms/RoomAvatar");
var RoomAvatarController = require('matrix-react-sdk/lib/controllers/atoms/RoomAvatar')
module.exports = React.createClass({
displayName: 'RoomAvatar',

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var CreateRoomButtonController = require("../../../../../src/controllers/atoms/create_room/CreateRoomButton");
var CreateRoomButtonController = require('matrix-react-sdk/lib/controllers/atoms/create_room/CreateRoomButton')
module.exports = React.createClass({
displayName: 'CreateRoomButton',

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var PresetsController = require("../../../../../src/controllers/atoms/create_room/Presets");
var PresetsController = require('matrix-react-sdk/lib/controllers/atoms/create_room/Presets')
module.exports = React.createClass({
displayName: 'CreateRoomPresets',

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var RoomAliasController = require("../../../../../src/controllers/atoms/create_room/RoomAlias");
var RoomAliasController = require('matrix-react-sdk/lib/controllers/atoms/create_room/RoomAlias')
module.exports = React.createClass({
displayName: 'RoomAlias',

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var VideoFeedController = require("../../../../../src/controllers/atoms/voip/VideoFeed");
var VideoFeedController = require('matrix-react-sdk/lib/controllers/atoms/voip/VideoFeed')
module.exports = React.createClass({
displayName: 'VideoFeed',

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var ChangeAvatarController = require("../../../../src/controllers/molecules/ChangeAvatar");
var ChangeAvatarController = require('matrix-react-sdk/lib/controllers/molecules/ChangeAvatar')
var Loader = require("react-loader");

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var ChangePasswordController = require("../../../../src/controllers/molecules/ChangePassword");
var ChangePasswordController = require('matrix-react-sdk/lib/controllers/molecules/ChangePassword')
var Loader = require("react-loader");

@ -19,7 +19,7 @@ limitations under the License.
var React = require('react');
var MatrixClientPeg = require("../../../../src/MatrixClientPeg");
var EventAsTextTileController = require("../../../../src/controllers/molecules/EventAsTextTile");
var EventAsTextTileController = require('matrix-react-sdk/lib/controllers/molecules/EventAsTextTile')
var ComponentBroker = require('../../../../src/ComponentBroker');
var MessageTimestamp = ComponentBroker.get('atoms/MessageTimestamp');
var MemberAvatar = ComponentBroker.get('atoms/MemberAvatar');

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var MEmoteTileController = require("../../../../src/controllers/molecules/MEmoteTile");
var MEmoteTileController = require('matrix-react-sdk/lib/controllers/molecules/MEmoteTile')
module.exports = React.createClass({
displayName: 'MEmoteTile',

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var MFileTileController = require("../../../../src/controllers/molecules/MFileTile");
var MFileTileController = require('matrix-react-sdk/lib/controllers/molecules/MFileTile')
var MatrixClientPeg = require('../../../../src/MatrixClientPeg');

@ -19,7 +19,7 @@ limitations under the License.
var React = require('react');
var filesize = require('filesize');
var MImageTileController = require("../../../../src/controllers/molecules/MImageTile");
var MImageTileController = require('matrix-react-sdk/lib/controllers/molecules/MImageTile')
var MatrixClientPeg = require('../../../../src/MatrixClientPeg');
var Modal = require('../../../../src/Modal');

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var MNoticeTileController = require("../../../../src/controllers/molecules/MNoticeTile");
var MNoticeTileController = require('matrix-react-sdk/lib/controllers/molecules/MNoticeTile')
module.exports = React.createClass({
displayName: 'MNoticeTile',

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var MRoomMemberTileController = require("../../../../src/controllers/molecules/MRoomMemberTile");
var MRoomMemberTileController = require('matrix-react-sdk/lib/controllers/molecules/MRoomMemberTile')
var MatrixClientPeg = require("../../../../src/MatrixClientPeg");
var ComponentBroker = require('../../../../src/ComponentBroker');

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var MTextTileController = require("../../../../src/controllers/molecules/MTextTile");
var MTextTileController = require('matrix-react-sdk/lib/controllers/molecules/MTextTile')
module.exports = React.createClass({
displayName: 'MTextTile',

@ -23,7 +23,7 @@ var ComponentBroker = require('../../../../src/ComponentBroker');
var LogoutButton = ComponentBroker.get("atoms/LogoutButton");
var EnableNotificationsButton = ComponentBroker.get("atoms/EnableNotificationsButton");
var MatrixToolbarController = require("../../../../src/controllers/molecules/MatrixToolbar");
var MatrixToolbarController = require('matrix-react-sdk/lib/controllers/molecules/MatrixToolbar')
var Notifier = ComponentBroker.get('organisms/Notifier');
module.exports = React.createClass({

@ -19,7 +19,7 @@ limitations under the License.
var React = require('react');
var MatrixClientPeg = require("../../../../src/MatrixClientPeg");
var MemberInfoController = require("../../../../src/controllers/molecules/MemberInfo");
var MemberInfoController = require('matrix-react-sdk/lib/controllers/molecules/MemberInfo')
var ComponentBroker = require('../../../../src/ComponentBroker');
var MemberAvatar = ComponentBroker.get('atoms/MemberAvatar');

@ -22,7 +22,7 @@ var MatrixClientPeg = require("../../../../src/MatrixClientPeg");
var ComponentBroker = require('../../../../src/ComponentBroker');
var Modal = require("../../../../src/Modal");
var ContextualMenu = require("../../../../src/ContextualMenu");
var MemberTileController = require("../../../../src/controllers/molecules/MemberTile");
var MemberTileController = require('matrix-react-sdk/lib/controllers/molecules/MemberTile')
var MemberInfo = ComponentBroker.get('molecules/MemberInfo');
var ErrorDialog = ComponentBroker.get("organisms/ErrorDialog");
var MemberAvatar = ComponentBroker.get('atoms/MemberAvatar');

@ -19,7 +19,7 @@ limitations under the License.
var React = require('react');
var MatrixClientPeg = require("../../../../src/MatrixClientPeg");
var MessageComposerController = require("../../../../src/controllers/molecules/MessageComposer");
var MessageComposerController = require('matrix-react-sdk/lib/controllers/molecules/MessageComposer')
var ContentMessages = require("../../../../src/ContentMessages");
var ComponentBroker = require('../../../../src/ComponentBroker');

@ -37,7 +37,7 @@ var tileTypes = {
'm.file': ComponentBroker.get('molecules/MFileTile')
};
var MessageTileController = require("../../../../src/controllers/molecules/MessageTile");
var MessageTileController = require('matrix-react-sdk/lib/controllers/molecules/MessageTile')
module.exports = React.createClass({
displayName: 'MessageTile',

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var ProgressBarController = require("../../../../src/controllers/molecules/ProgressBar");
var ProgressBarController = require('matrix-react-sdk/lib/controllers/molecules/ProgressBar')
module.exports = React.createClass({
displayName: 'ProgressBar',

@ -19,7 +19,7 @@ limitations under the License.
var React = require('react');
var classNames = require('classnames');
//var RoomCreateController = require("../../../../src/controllers/molecules/RoomCreateController");
//var RoomCreateController = require('matrix-react-sdk/lib/controllers/molecules/RoomCreateController')
var MatrixClientPeg = require("../../../../src/MatrixClientPeg");

@ -19,7 +19,7 @@ limitations under the License.
var React = require('react');
var classNames = require('classnames');
//var RoomDropTargetController = require("../../../../src/controllers/molecules/RoomDropTargetController");
//var RoomDropTargetController = require('matrix-react-sdk/lib/controllers/molecules/RoomDropTargetController')
var MatrixClientPeg = require("../../../../src/MatrixClientPeg");

@ -20,7 +20,7 @@ var React = require('react');
var ComponentBroker = require('../../../../src/ComponentBroker');
var MatrixClientPeg = require("../../../../src/MatrixClientPeg");
var RoomHeaderController = require("../../../../src/controllers/molecules/RoomHeader");
var RoomHeaderController = require('matrix-react-sdk/lib/controllers/molecules/RoomHeader')
var EditableText = ComponentBroker.get("atoms/EditableText");
var RoomAvatar = ComponentBroker.get('atoms/RoomAvatar');

@ -19,7 +19,7 @@ limitations under the License.
var React = require('react');
var MatrixClientPeg = require("../../../../src/MatrixClientPeg");
var RoomSettingsController = require("../../../../src/controllers/molecules/RoomSettings");
var RoomSettingsController = require('matrix-react-sdk/lib/controllers/molecules/RoomSettings')
module.exports = React.createClass({
displayName: 'RoomSettings',

@ -19,7 +19,7 @@ limitations under the License.
var React = require('react');
var classNames = require('classnames');
var RoomTileController = require("../../../../src/controllers/molecules/RoomTile");
var RoomTileController = require('matrix-react-sdk/lib/controllers/molecules/RoomTile')
var MatrixClientPeg = require("../../../../src/MatrixClientPeg");

@ -19,7 +19,7 @@ limitations under the License.
var React = require('react');
var classNames = require("classnames");
var SenderProfileController = require("../../../../src/controllers/molecules/SenderProfile");
var SenderProfileController = require('matrix-react-sdk/lib/controllers/molecules/SenderProfile')
// The Lato WOFF doesn't include sensible combining diacritics, so Chrome chokes on rendering them.
// Revert to Arial when this happens, which on OSX works at least.

@ -22,7 +22,7 @@ var ComponentBroker = require('../../../../src/ComponentBroker');
var ErrorDialog = ComponentBroker.get('organisms/ErrorDialog');
var ServerConfigController = require("../../../../src/controllers/molecules/ServerConfig");
var ServerConfigController = require('matrix-react-sdk/lib/controllers/molecules/ServerConfig')
module.exports = React.createClass({
displayName: 'ServerConfig',

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var UnknownMessageTileController = require("../../../../src/controllers/molecules/UnknownMessageTile");
var UnknownMessageTileController = require('matrix-react-sdk/lib/controllers/molecules/UnknownMessageTile')
module.exports = React.createClass({
displayName: 'UnknownMessageTile',

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var UserSelectorController = require("../../../../src/controllers/molecules/UserSelector");
var UserSelectorController = require('matrix-react-sdk/lib/controllers/molecules/UserSelector')
module.exports = React.createClass({
displayName: 'UserSelector',

@ -38,4 +38,4 @@ module.exports = React.createClass({
<VideoView ref="video"/>
);
}
});
});

@ -20,7 +20,7 @@ var React = require('react');
var MatrixClientPeg = require("../../../../../src/MatrixClientPeg");
var ComponentBroker = require('../../../../../src/ComponentBroker');
var VideoViewController = require("../../../../../src/controllers/molecules/voip/VideoView");
var VideoViewController = require('matrix-react-sdk/lib/controllers/molecules/voip/VideoView')
var VideoFeed = ComponentBroker.get('atoms/voip/VideoFeed');
module.exports = React.createClass({
@ -47,4 +47,4 @@ module.exports = React.createClass({
</div>
);
}
});
});

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var CreateRoomController = require("../../../../src/controllers/organisms/CreateRoom");
var CreateRoomController = require('matrix-react-sdk/lib/controllers/organisms/CreateRoom')
var ComponentBroker = require('../../../../src/ComponentBroker');

@ -28,7 +28,7 @@ limitations under the License.
*/
var React = require('react');
var ErrorDialogController = require("../../../../src/controllers/organisms/ErrorDialog");
var ErrorDialogController = require('matrix-react-sdk/lib/controllers/organisms/ErrorDialog')
module.exports = React.createClass({
displayName: 'ErrorDialog',

@ -18,7 +18,7 @@ limitations under the License.
var React = require('react');
var LogoutPromptController = require("../../../../src/controllers/organisms/LogoutPrompt");
var LogoutPromptController = require('matrix-react-sdk/lib/controllers/organisms/LogoutPrompt')
module.exports = React.createClass({
displayName: 'LogoutPrompt',

@ -19,7 +19,7 @@ limitations under the License.
var React = require('react');
var classNames = require('classnames');
var MemberListController = require("../../../../src/controllers/organisms/MemberList");
var MemberListController = require('matrix-react-sdk/lib/controllers/organisms/MemberList')
var ComponentBroker = require('../../../../src/ComponentBroker');

@ -16,7 +16,7 @@ limitations under the License.
'use strict';
var NotifierController = require("../../../../src/controllers/organisms/Notifier");
var NotifierController = require('matrix-react-sdk/lib/controllers/organisms/Notifier')
var MatrixClientPeg = require("../../../../src/MatrixClientPeg");
var TextForEvent = require("../../../../src/TextForEvent");

@ -28,7 +28,7 @@ limitations under the License.
*/
var React = require('react');
var QuestionDialogController = require("../../../../src/controllers/organisms/QuestionDialog");
var QuestionDialogController = require('matrix-react-sdk/lib/controllers/organisms/QuestionDialog')
module.exports = React.createClass({
displayName: 'QuestionDialog',

@ -21,7 +21,7 @@ var ComponentBroker = require('../../../../src/ComponentBroker');
var CallView = ComponentBroker.get('molecules/voip/CallView');
var RoomDropTarget = ComponentBroker.get('molecules/RoomDropTarget');
var RoomListController = require("../../../../src/controllers/organisms/RoomList");
var RoomListController = require('matrix-react-sdk/lib/controllers/organisms/RoomList')
module.exports = React.createClass({
displayName: 'RoomList',

@ -30,7 +30,7 @@ var RoomHeader = ComponentBroker.get('molecules/RoomHeader');
var MessageComposer = ComponentBroker.get('molecules/MessageComposer');
var CallView = ComponentBroker.get("molecules/voip/CallView");
var RoomSettings = ComponentBroker.get("molecules/RoomSettings");
var RoomViewController = require("../../../../src/controllers/organisms/RoomView");
var RoomViewController = require('matrix-react-sdk/lib/controllers/organisms/RoomView')
var Loader = require("react-loader");

@ -17,7 +17,7 @@ var React = require('react');
var ComponentBroker = require('../../../../src/ComponentBroker');
var MatrixClientPeg = require("../../../../src/MatrixClientPeg");
var UserSettingsController = require("../../../../src/controllers/organisms/UserSettings");
var UserSettingsController = require('matrix-react-sdk/lib/controllers/organisms/UserSettings')
var EditableText = ComponentBroker.get('atoms/EditableText');
var EnableNotificationsButton = ComponentBroker.get('atoms/EnableNotificationsButton');

@ -30,7 +30,7 @@ var RoomDirectory = ComponentBroker.get('organisms/RoomDirectory');
var MatrixToolbar = ComponentBroker.get('molecules/MatrixToolbar');
var Notifier = ComponentBroker.get('organisms/Notifier');
var MatrixChatController = require('../../../../src/controllers/pages/MatrixChat');
var MatrixChatController = require('matrix-react-sdk/lib/controllers/pages/MatrixChat')
// should be atomised
var Loader = require("react-loader");

@ -24,7 +24,7 @@ var MatrixClientPeg = require("../../../../src/MatrixClientPeg");
var ProgressBar = ComponentBroker.get("molecules/ProgressBar");
var Loader = require("react-loader");
var LoginController = require("../../../../src/controllers/templates/Login");
var LoginController = require('matrix-react-sdk/lib/controllers/templates/Login')
var ServerConfig = ComponentBroker.get("molecules/ServerConfig");

@ -22,7 +22,7 @@ var ComponentBroker = require("../../../../src/ComponentBroker");
var Loader = require("react-loader");
var RegisterController = require("../../../../src/controllers/templates/Register");
var RegisterController = require('matrix-react-sdk/lib/controllers/templates/Register')
var ServerConfig = ComponentBroker.get("molecules/ServerConfig");

Loading…
Cancel
Save