| 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 202854eb3973d92eca37bc248d1ea586d2494a6e..944a54b47932116c2c135e42b85456880aa9f6d8 100644
|
| --- a/chrome/common/extensions/docs/js/api_page_generator.js
|
| +++ b/chrome/common/extensions/docs/js/api_page_generator.js
|
| @@ -183,7 +183,7 @@ function fetchSchema() {
|
| schema = [];
|
|
|
| function onSchemaContent(content) {
|
| - schema = schema.concat(JSON.parse(content));
|
| + schema = schema.concat(JSON.parse(JSON.minify(content)));
|
| if (++schemas_retrieved < schemas_to_retrieve.length)
|
| return;
|
| if (pageName.toLowerCase() == 'samples') {
|
| @@ -204,7 +204,7 @@ function fetchSchema() {
|
| function fetchSamples() {
|
| // If we're rendering the samples directory, fetch the samples manifest.
|
| fetchContent(SAMPLES, function(sampleManifest) {
|
| - var data = JSON.parse(sampleManifest);
|
| + var data = JSON.parse(JSON.minify(sampleManifest));
|
| samples = data.samples;
|
| apiMapping = data.api;
|
| renderTemplate();
|
|
|