Merge branch 'immediate-finds' into immediate-finds-modules-proxy
This commit is contained in:
commit
48442aee1d
|
@ -25,5 +25,5 @@ export const Menu = findByProps<t.Menu>("MenuItem", "MenuSliderControl");
|
|||
export const ContextMenuApi: t.ContextMenuApi = mapMangledModule('type:"CONTEXT_MENU_OPEN', {
|
||||
closeContextMenu: filters.byCode("CONTEXT_MENU_CLOSE"),
|
||||
openContextMenu: filters.byCode("renderLazy:"),
|
||||
openContextMenuLazy: e => typeof e === "function" && e.toString().length < 100
|
||||
openContextMenuLazy: e => typeof e === "function" && String(e).length < 100
|
||||
});
|
||||
|
|
|
@ -154,7 +154,7 @@ const openExpressionPickerMatcher = canonicalizeMatch(/setState\({activeView:\i,
|
|||
// TODO: type
|
||||
export const ExpressionPickerStore: t.ExpressionPickerStore = mapMangledModule("expression-picker-last-active-view", {
|
||||
closeExpressionPicker: filters.byCode("setState({activeView:null"),
|
||||
openExpressionPicker: m => typeof m === "function" && openExpressionPickerMatcher.test(m.toString()),
|
||||
openExpressionPicker: m => typeof m === "function" && openExpressionPickerMatcher.test(String(m)),
|
||||
});
|
||||
|
||||
export const PopoutActions: t.PopoutActions = mapMangledModule('type:"POPOUT_WINDOW_OPEN"', {
|
||||
|
|
Loading…
Reference in a new issue