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

Unified Diff: chrome/common/extensions/docs/server2/api_data_source.py

Issue 10894049: Make links to samples and re-enable sample list for api references. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: patch'd Created 8 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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/server2/samples_data_source.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/server2/api_data_source.py
diff --git a/chrome/common/extensions/docs/server2/api_data_source.py b/chrome/common/extensions/docs/server2/api_data_source.py
index d83cc8ae1c147c1f078474cd72134d4ebafd2905..6e7da687ed6ab2d08885e00bf17a5cd1ddd0c014 100644
--- a/chrome/common/extensions/docs/server2/api_data_source.py
+++ b/chrome/common/extensions/docs/server2/api_data_source.py
@@ -96,9 +96,7 @@ class APIDataSource(object):
def _GenerateHandlebarContext(self, handlebar, path):
return_dict = {
'permissions': self._GetFeature(path),
- # Disabled to help with performance until we figure out
- # http://crbug.com/142011.
- 'samples': None # _LazySamplesGetter(path, self._samples)
+ 'samples': _LazySamplesGetter(path, self._samples)
}
return_dict.update(handlebar.Generate())
return return_dict
« no previous file with comments | « no previous file | chrome/common/extensions/docs/server2/samples_data_source.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698