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

Side by Side Diff: gm/rebaseline_server/static/loader.js

Issue 24274003: Create HTTP-based GM results viewer. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 3 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 /*
2 * Loader:
3 * Reads GM result reports written out by results_loader.py, and imports
4 * their data into $scope.results .
5 */
6 var Loader = angular.module(
7 'Loader',
8 []
9 );
10 Loader.controller(
11 'Loader.Controller',
12 function($scope, $http) {
13 $scope.changeResultType = function() {
14 $http.get("/results/" + $scope.resultType).then(
15 function(response) {
16 $scope.results = response.data;
17 $scope.sortColumn = 'test';
18 }
19 );
20 }
21 }
22 );
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698