Index: components/dom_distiller/webui/resources/dom_distiller_viewer.js |
diff --git a/chrome/common/extensions/api/test_presubmit/valid_json.json b/components/dom_distiller/webui/resources/dom_distiller_viewer.js |
similarity index 56% |
copy from chrome/common/extensions/api/test_presubmit/valid_json.json |
copy to components/dom_distiller/webui/resources/dom_distiller_viewer.js |
index 615ea28d4bea44520eaacd7834304f5d01c3a639..f0bca1a8ae8ee98841468eb6ef08e934a0c2de35 100644 |
--- a/chrome/common/extensions/api/test_presubmit/valid_json.json |
+++ b/components/dom_distiller/webui/resources/dom_distiller_viewer.js |
@@ -2,10 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Tests a valid IDL file. |
- |
-// This is a comment. |
-{ |
- "key1": ["value1", "value2"], |
- "key2": 3 // This is an inline comment. |
+var domDistillerViewer = { |
+ onReceivedTitle: function(title) { |
+ document.getElementById('viewerTitle').innerText = title; |
+ }, |
} |