Skip to content

Commit

Permalink
Bug 1300494 - New console frontend: Fix rep spacing for console. r=Honza
Browse files Browse the repository at this point in the history
MozReview-Commit-ID: LKikTgd3DgT
  • Loading branch information
linclark committed Sep 20, 2016
1 parent 87ae40f commit cfca211
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion devtools/client/shared/components/reps/grip.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ define(function (require, exports, module) {
if (this.props.objectLink) {
return this.props.objectLink({
object: object
}, object.class + " ");
}, object.class);
}
return object.class || "Object";
},
Expand Down
2 changes: 1 addition & 1 deletion devtools/client/shared/components/reps/object.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ define(function (require, exports, module) {
if (this.props.objectLink) {
return this.props.objectLink({
object: object
}, object.class + " ");
}, object.class);
}
return "Object";
},
Expand Down
2 changes: 1 addition & 1 deletion devtools/client/shared/components/reps/stylesheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ define(function (require, exports, module) {
return DOM.span({className: "objectBox"},
this.props.objectLink({
object: grip
}, title + " ")
}, title)
);
}
return title;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe("EvaluationResult component:", () => {
const rendered = renderComponent(EvaluationResult, props);

const messageBody = getMessageBody(rendered);
expect(messageBody.textContent).toBe("Date1970-01-01T00:00:00.000Z");
expect(messageBody.textContent).toBe("Date 1970-01-01T00:00:00.000Z");
});
});

Expand Down

0 comments on commit cfca211

Please sign in to comment.