Bug 1291358 - Part 2: New console frontend: Add support for console.trace();r=linclark
MozReview-Commit-ID: G7Ghf07BiSl
This commit is contained in:
@@ -16,8 +16,15 @@ const FilterBar = React.createFactory(require("devtools/client/webconsole/new-co
|
||||
|
||||
const store = configureStore();
|
||||
|
||||
function NewConsoleOutputWrapper(parentNode, jsterm) {
|
||||
let childComponent = ConsoleOutput({ jsterm });
|
||||
function NewConsoleOutputWrapper(parentNode, jsterm, toolbox) {
|
||||
let childComponent = ConsoleOutput({
|
||||
jsterm,
|
||||
onViewSourceInDebugger: frame => toolbox.viewSourceInDebugger.call(
|
||||
toolbox,
|
||||
frame.url,
|
||||
frame.line
|
||||
)
|
||||
});
|
||||
let filterBar = FilterBar({});
|
||||
let provider = React.createElement(
|
||||
Provider,
|
||||
|
||||
Reference in New Issue
Block a user