зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1541631 - Part 6: Remove unused action return values. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42031 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
00ed6331e2
Коммит
5980499fff
|
@ -178,8 +178,6 @@ async function _setBreakpointPositions(cx, sourceId, line, thunkArgs) {
|
||||||
source: source,
|
source: source,
|
||||||
positions,
|
positions,
|
||||||
});
|
});
|
||||||
|
|
||||||
return positions;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function generatedSourceActorKey(state, sourceId) {
|
function generatedSourceActorKey(state, sourceId) {
|
||||||
|
|
|
@ -124,8 +124,6 @@ async function loadSourceTextPromise(
|
||||||
await dispatch(addBreakpoint(cx, location, options, disabled));
|
await dispatch(addBreakpoint(cx, location, options, disabled));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return newSource;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function loadSourceById(cx: Context, sourceId: string) {
|
export function loadSourceById(cx: Context, sourceId: string) {
|
||||||
|
|
|
@ -34,8 +34,6 @@ async function doSetSymbols(cx, source, { dispatch, getState, parser }) {
|
||||||
if (symbols && symbols.framework) {
|
if (symbols && symbols.framework) {
|
||||||
dispatch(updateTab(source, symbols.framework));
|
dispatch(updateTab(source, symbols.framework));
|
||||||
}
|
}
|
||||||
|
|
||||||
return symbols;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type Args = { cx: Context, source: Source };
|
type Args = { cx: Context, source: Source };
|
||||||
|
|
|
@ -11,7 +11,7 @@ type MemoizableActionParams<Args, Result> = {
|
||||||
hasValue: (args: Args, thunkArgs: ThunkArgs) => boolean,
|
hasValue: (args: Args, thunkArgs: ThunkArgs) => boolean,
|
||||||
getValue: (args: Args, thunkArgs: ThunkArgs) => Result,
|
getValue: (args: Args, thunkArgs: ThunkArgs) => Result,
|
||||||
createKey: (args: Args, thunkArgs: ThunkArgs) => string,
|
createKey: (args: Args, thunkArgs: ThunkArgs) => string,
|
||||||
action: (args: Args, thunkArgs: ThunkArgs) => Promise<Result>,
|
action: (args: Args, thunkArgs: ThunkArgs) => Promise<mixed>,
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Загрузка…
Ссылка в новой задаче