| Index: gm/rebaseline_server/static/loader.js
|
| diff --git a/gm/rebaseline_server/static/loader.js b/gm/rebaseline_server/static/loader.js
|
| index 71972d16008e49e93463f91687f651d4f2cd6faf..9ae84d613c9444411c81a260e69bcbeac3cad9ac 100644
|
| --- a/gm/rebaseline_server/static/loader.js
|
| +++ b/gm/rebaseline_server/static/loader.js
|
| @@ -417,6 +417,15 @@ Loader.controller(
|
| }
|
|
|
| /**
|
| + * Update $scope.hiddenResultTypes so that ALL resultTypes are showing,
|
| + * and update the visible results.
|
| + */
|
| + $scope.showAllResultTypes = function() {
|
| + $scope.hiddenResultTypes = {};
|
| + $scope.updateResults();
|
| + }
|
| +
|
| + /**
|
| * Update $scope.hiddenConfigs so that ONLY this config is showing,
|
| * and update the visible results.
|
| *
|
| @@ -429,6 +438,15 @@ Loader.controller(
|
| $scope.updateResults();
|
| }
|
|
|
| + /**
|
| + * Update $scope.hiddenConfigs so that ALL configs are showing,
|
| + * and update the visible results.
|
| + */
|
| + $scope.showAllConfigs = function() {
|
| + $scope.hiddenConfigs = {};
|
| + $scope.updateResults();
|
| + }
|
| +
|
|
|
| //
|
| // Operations for sending info back to the server.
|
| @@ -532,6 +550,15 @@ Loader.controller(
|
| //
|
|
|
| /**
|
| + * Returns the number of values present within set "set".
|
| + *
|
| + * @param set an Object which we use to mimic set semantics
|
| + */
|
| + $scope.setSize = function(set) {
|
| + return Object.keys(set).length;
|
| + }
|
| +
|
| + /**
|
| * Returns true if value "value" is present within set "set".
|
| *
|
| * @param value a value of any type
|
|
|