OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * @constructor | 6 * @constructor |
7 */ | 7 */ |
8 WebInspector.JSArticle = function() | 8 WebInspector.JSArticle = function() |
9 { | 9 { |
10 /** @type {string} */ | 10 /** @type {string} */ |
(...skipping 22 matching lines...) Expand all Loading... | |
33 article.pageTitle = wikiDocument["Page_Title"]; | 33 article.pageTitle = wikiDocument["Page_Title"]; |
34 if (typeof wikiDocument["Standardization_Status"] !== "undefined") | 34 if (typeof wikiDocument["Standardization_Status"] !== "undefined") |
35 article.standardizationStatus = wikiDocument["Standardization_Status"]; | 35 article.standardizationStatus = wikiDocument["Standardization_Status"]; |
36 if (typeof wikiDocument["Summary_Section"] !== "undefined") | 36 if (typeof wikiDocument["Summary_Section"] !== "undefined") |
37 article.summary = wikiDocument["Summary_Section"]; | 37 article.summary = wikiDocument["Summary_Section"]; |
38 if (typeof wikiDocument["API_Object_Method"] !== "undefined") | 38 if (typeof wikiDocument["API_Object_Method"] !== "undefined") |
39 article.methods = wikiDocument["API_Object_Method"]; | 39 article.methods = wikiDocument["API_Object_Method"]; |
40 if (typeof wikiDocument["Remarks_Section"] !== "undefined") | 40 if (typeof wikiDocument["Remarks_Section"] !== "undefined") |
41 article.remarks = wikiDocument["Remarks_Section"]; | 41 article.remarks = wikiDocument["Remarks_Section"]; |
42 | 42 |
43 | |
apavlov
2014/08/11 15:13:35
Please revert this before landing
iliia
2014/08/12 07:53:32
Done.
| |
43 return article; | 44 return article; |
44 } | 45 } |
45 | 46 |
OLD | NEW |