Bug 1306622 - New console frontend: Factor out common HTML structures from message types. r=bgrins
MozReview-Commit-ID: 3JjyRuJyFAP
This commit is contained in:
@@ -17,6 +17,8 @@ const MessageContainer = createFactory(require("devtools/client/webconsole/new-c
|
||||
|
||||
const ConsoleOutput = createClass({
|
||||
|
||||
displayName: "ConsoleOutput",
|
||||
|
||||
propTypes: {
|
||||
hudProxyClient: PropTypes.object.isRequired,
|
||||
messages: PropTypes.object.isRequired,
|
||||
@@ -27,8 +29,6 @@ const ConsoleOutput = createClass({
|
||||
openLink: PropTypes.func.isRequired,
|
||||
},
|
||||
|
||||
displayName: "ConsoleOutput",
|
||||
|
||||
componentWillUpdate() {
|
||||
let node = ReactDOM.findDOMNode(this);
|
||||
if (node.lastChild) {
|
||||
|
||||
Reference in New Issue
Block a user