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

Side by Side Diff: trunk/src/tools/telemetry/telemetry/web_components/viewer_bootstrap.js

Issue 182333004: Revert 253521 "Introduce telemetry.web_components and a simple c..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 'use strict';
5
6 var g_results;
7 document.addEventListener('DOMContentLoaded', function() {
8 var viewerDataScript = document.querySelector('#viewer-data');
9 var data;
10 try {
11 data = JSON.parse(viewerDataScript.textContent);
12 } catch (e) {
13 tvcm.showPanic('Could not load data', e.stack || e);
14 }
15 g_results = new $js_class_name;
16 g_results.$data_binding_property = data;
17 document.body.appendChild(g_results);
18 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698