Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1657)

Unified Diff: Source/devtools/front_end/documentation/DocumentationView.js

Issue 554243002: DevTools: [Documentation] fix css styles for renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/devtools/front_end/documentationView.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/documentation/DocumentationView.js
diff --git a/Source/devtools/front_end/documentation/DocumentationView.js b/Source/devtools/front_end/documentation/DocumentationView.js
index 5960b4bb7b2e2d5d425c81cecca02aabd396782e..a4015e36a23a5506097868ddf294b77b799dd3eb 100644
--- a/Source/devtools/front_end/documentation/DocumentationView.js
+++ b/Source/devtools/front_end/documentation/DocumentationView.js
@@ -217,7 +217,8 @@ WebInspector.DocumentationView.Renderer.prototype = {
liveUrl.href = examples[i].liveUrl;
liveUrl.textContent = WebInspector.UIString("Example");
}
- exampleDescription.appendChild(this._renderBlock(examples[i].description));
+ if (examples[i].description)
+ exampleDescription.appendChild(this._renderBlock(examples[i].description));
var code = example.createChild("div", "documentation-code");
code.classList.add("source-code");
code.textContent = examples[i].code;
« no previous file with comments | « no previous file | Source/devtools/front_end/documentationView.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698