window.Signal.React -> window.Signal.Components
This commit is contained in:
parent
23537546fe
commit
05303233fb
4 changed files with 5 additions and 6 deletions
|
@ -16,7 +16,6 @@ test/views/*.js
|
|||
# typescript-generated files
|
||||
ts/**/*.js
|
||||
|
||||
|
||||
# ES2015+ files
|
||||
!js/background.js
|
||||
!js/backup.js
|
||||
|
|
|
@ -150,7 +150,7 @@ window.Signal.Database = require('./js/modules/database');
|
|||
window.Signal.Debug = require('./js/modules/debug');
|
||||
window.Signal.Logs = require('./js/modules/logs');
|
||||
|
||||
window.Signal.React = {};
|
||||
window.Signal.Components = {};
|
||||
|
||||
window.Signal.Migrations = {};
|
||||
window.Signal.Migrations.deleteAttachmentData =
|
||||
|
|
|
@ -18,7 +18,7 @@ window.Signal.Migrations = {
|
|||
getPlaceholderMigrations: () => {},
|
||||
};
|
||||
|
||||
window.Signal.React = {};
|
||||
window.Signal.Components = {};
|
||||
|
||||
window.EmojiConvertor = function EmojiConvertor() {};
|
||||
window.EmojiConvertor.prototype.init_colons = () => {};
|
||||
|
|
|
@ -77,7 +77,7 @@ parent.moment.locale(locale);
|
|||
parent.React = React;
|
||||
parent.ReactDOM = ReactDOM;
|
||||
|
||||
const SignalReact = parent.Signal.React = parent.Signal.React || {};
|
||||
const SignalComponents: any = parent.Signal.Components = {};
|
||||
|
||||
SignalReact.Message = Message;
|
||||
SignalReact.Reply = Reply;
|
||||
SignalComponents.Message = Message;
|
||||
SignalComponents.Reply = Reply;
|
||||
|
|
Loading…
Reference in a new issue