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

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

Issue 454873006: DevTools: Fix "documentation" module code style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix test Created 6 years, 4 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
Index: Source/devtools/front_end/documentation/CSSArticle.js
diff --git a/Source/devtools/front_end/documentation/CSSArticle.js b/Source/devtools/front_end/documentation/CSSArticle.js
index 1f88a47648122a1891eb731189ec11e0911b7342..502cf44f01e13364e7405e5190d10a25d8e22762 100644
--- a/Source/devtools/front_end/documentation/CSSArticle.js
+++ b/Source/devtools/front_end/documentation/CSSArticle.js
@@ -13,8 +13,8 @@ WebInspector.CSSArticle = function()
this.standardizationStatus;
/** @type {string} */
this.summary;
- /** @type {!Object.<string, ?Array.<!Object.<string> > >} */
- this.CSSproperties;
+ /** @type {!Object.<string, ?Array.<!Object.<string>>>} */
+ this.cssProperties;
}
/**
@@ -24,17 +24,17 @@ WebInspector.CSSArticle = function()
WebInspector.CSSArticle.parse = function(wikiMarkupText)
{
var wikiParser = new WebInspector.WikiParser(wikiMarkupText);
- var from = wikiParser.document();
+ var wikiDocument = wikiParser.document();
var article = new WebInspector.CSSArticle();
- if (typeof from["Page_Title"] !== "undefined")
- article.pageTitle = from["Page_Title"];
- if (typeof from["Standardization_Status"] !== "undefined")
- article.standardizationStatus = from["Standardization_Status"];
- if (typeof from["Summary_Section"] !== "undefined")
- article.summary = from["Summary_Section"];
- if (typeof from["CSS Property"] !== "undefined")
- article.CSSproperties = from["CSS Property"];
+ if (typeof wikiDocument["Page_Title"] !== "undefined")
+ article.pageTitle = wikiDocument["Page_Title"];
+ if (typeof wikiDocument["Standardization_Status"] !== "undefined")
+ article.standardizationStatus = wikiDocument["Standardization_Status"];
+ if (typeof wikiDocument["Summary_Section"] !== "undefined")
+ article.summary = wikiDocument["Summary_Section"];
+ if (typeof wikiDocument["CSS Property"] !== "undefined")
+ article.cssProperties = wikiDocument["CSS Property"];
return article;
}

Powered by Google App Engine
This is Rietveld 408576698