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

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

Issue 9582013: Revert 124660 - Allow comments in extension config files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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
===================================================================
--- chrome/common/extensions/docs/js/api_page_generator.js (revision 124674)
+++ chrome/common/extensions/docs/js/api_page_generator.js (working copy)
@@ -183,7 +183,7 @@
schema = [];
function onSchemaContent(content) {
- schema = schema.concat(JSON.parse(JSON.minify(content)));
+ schema = schema.concat(JSON.parse(content));
if (++schemas_retrieved < schemas_to_retrieve.length)
return;
if (pageName.toLowerCase() == 'samples') {
@@ -204,7 +204,7 @@
function fetchSamples() {
// If we're rendering the samples directory, fetch the samples manifest.
fetchContent(SAMPLES, function(sampleManifest) {
- var data = JSON.parse(JSON.minify(sampleManifest));
+ var data = JSON.parse(sampleManifest);
samples = data.samples;
apiMapping = data.api;
renderTemplate();
« no previous file with comments | « chrome/common/extensions/docs/build/directory.py ('k') | chrome/common/extensions/docs/template/page_shell.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698