mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-10 15:13:02 -04:00
Add more Webpack Commons & utils
This commit is contained in:
parent
bb7332cefd
commit
2105de8ca5
4 changed files with 25 additions and 0 deletions
|
@ -8,7 +8,12 @@ export const Margins = lazyWebpack(filters.byProps(["marginTop20"]));
|
|||
|
||||
export let FluxDispatcher: Other.FluxDispatcher;
|
||||
export let React: typeof import("react");
|
||||
|
||||
export let GuildStore: Stores.GuildStore;
|
||||
export let UserStore: Stores.UserStore;
|
||||
export let SelectedChannelStore: Stores.SelectedChannelStore;
|
||||
export let ChannelStore: Stores.ChannelStore;
|
||||
|
||||
export const Forms = {} as {
|
||||
FormTitle: Components.FormTitle;
|
||||
FormSection: any;
|
||||
|
@ -86,7 +91,12 @@ waitFor(["dispatch", "subscribe"], m => {
|
|||
};
|
||||
m.subscribe("CONNECTION_OPEN", cb);
|
||||
});
|
||||
|
||||
waitFor(["getCurrentUser", "initialize"], m => UserStore = m);
|
||||
waitFor("getSortedPrivateChannels", m => ChannelStore = m);
|
||||
waitFor("getCurrentlySelectedChannelId", m => SelectedChannelStore = m);
|
||||
waitFor("getGuildCount", m => GuildStore = m);
|
||||
|
||||
waitFor(["Hovers", "Looks", "Sizes"], m => Button = m);
|
||||
waitFor(filters.byCode("helpdeskArticleId"), m => Switch = m);
|
||||
waitFor(["Positions", "Colors"], m => Tooltip = m);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue