diff options
Diffstat (limited to 'devtools/client/debugger/src/actions/toolbox.js')
-rw-r--r-- | devtools/client/debugger/src/actions/toolbox.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devtools/client/debugger/src/actions/toolbox.js b/devtools/client/debugger/src/actions/toolbox.js index a343c92863..4c88ec6d24 100644 --- a/devtools/client/debugger/src/actions/toolbox.js +++ b/devtools/client/debugger/src/actions/toolbox.js @@ -12,6 +12,12 @@ export function openLink(url) { }; } +export function openSourceMap(url, line, column) { + return async function ({ panel }) { + return panel.toolbox.viewSource(url, line, column); + }; +} + export function evaluateInConsole(inputString) { return async ({ panel }) => { return panel.openConsoleAndEvaluate(inputString); @@ -24,7 +30,7 @@ export function openElementInInspectorCommand(grip) { }; } -export function openInspector(grip) { +export function openInspector() { return async ({ panel }) => { return panel.openInspector(); }; |