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

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

Issue 149473005: Add magnifier to rebaseline server (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove unneeded mask size logic Created 6 years, 10 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
« no previous file with comments | « gm/rebaseline_server/static/diff_viewer.js ('k') | gm/rebaseline_server/static/view.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Loader: 2 * Loader:
3 * Reads GM result reports written out by results.py, and imports 3 * Reads GM result reports written out by results.py, and imports
4 * them into $scope.categories and $scope.testData . 4 * them into $scope.categories and $scope.testData .
5 */ 5 */
6 var Loader = angular.module( 6 var Loader = angular.module(
7 'Loader', 7 'Loader',
8 [] 8 ['diff_viewer']
9 ); 9 );
10 10
11 11
12 // TODO(epoger): Combine ALL of our filtering operations (including 12 // TODO(epoger): Combine ALL of our filtering operations (including
13 // truncation) into this one filter, so that runs most efficiently? 13 // truncation) into this one filter, so that runs most efficiently?
14 // (We would have to make sure truncation still took place after 14 // (We would have to make sure truncation still took place after
15 // sorting, though.) 15 // sorting, though.)
16 Loader.filter( 16 Loader.filter(
17 'removeHiddenItems', 17 'removeHiddenItems',
18 function() { 18 function() {
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 * 614 *
615 * @param secondsPastEpoch (numeric): seconds past epoch in UTC 615 * @param secondsPastEpoch (numeric): seconds past epoch in UTC
616 */ 616 */
617 $scope.localTimeString = function(secondsPastEpoch) { 617 $scope.localTimeString = function(secondsPastEpoch) {
618 var d = new Date(secondsPastEpoch * 1000); 618 var d = new Date(secondsPastEpoch * 1000);
619 return d.toString(); 619 return d.toString();
620 } 620 }
621 621
622 } 622 }
623 ); 623 );
OLDNEW
« no previous file with comments | « gm/rebaseline_server/static/diff_viewer.js ('k') | gm/rebaseline_server/static/view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698