OLD | NEW |
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 Loading... |
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 ); |
OLD | NEW |