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

Unified Diff: perf/templates/clusters.html

Issue 736703002: Take the sk.get out of query-sk. (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 6 years, 1 month 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 | « perf/res/js/logic.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: perf/templates/clusters.html
diff --git a/perf/templates/clusters.html b/perf/templates/clusters.html
index c638ef374276bc05a08dd15f7c1b6f6f27cb4f59..06f4e678824eb2dce1e8067efdfae0988b0274e7 100644
--- a/perf/templates/clusters.html
+++ b/perf/templates/clusters.html
@@ -102,6 +102,11 @@
$$('input[name="sort"]').forEach(function(ele) {
ele.addEventListener('click', sort);
});
+
+ sk.get('/tiles/0/-1/').then(JSON.parse).then(function(json){
+ $$$('query-sk').setParamSet(json.paramset);
+ });
+
};
// TODO(jcgregorio) Make this into a Promise.
« no previous file with comments | « perf/res/js/logic.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698