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

Unified Diff: chrome/common/extensions/docs/js/api_page_generator.js

Issue 9452019: experimental.downloads extension api docs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 8 years, 9 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: chrome/common/extensions/docs/js/api_page_generator.js
diff --git a/chrome/common/extensions/docs/js/api_page_generator.js b/chrome/common/extensions/docs/js/api_page_generator.js
index 261fb393e01a64cbbf022320a825044bcb12ad91..6f93ae96eda93e9a668a603d8d0d1d7307fae226 100644
--- a/chrome/common/extensions/docs/js/api_page_generator.js
+++ b/chrome/common/extensions/docs/js/api_page_generator.js
@@ -432,6 +432,12 @@ function selectCurrentPageOnLeftNav() {
* template
*/
+function filterDocumented(things) {
+ return !things ? [] : things.filter(function(thing) {
+ return !disableDocs(thing);
+ });
+}
+
function stableAPIs() {
return schema.filter(function(module) {
return !disableDocs(module) &&

Powered by Google App Engine
This is Rietveld 408576698