|
@@ -12,6 +12,10 @@ app.controller('ResultsCtrl', function ($scope) {
|
|
// Get the execution tree from the offenders
|
|
// Get the execution tree from the offenders
|
|
$scope.javascript = JSON.parse($scope.phantomasResults.offenders.javascriptExecutionTree);
|
|
$scope.javascript = JSON.parse($scope.phantomasResults.offenders.javascriptExecutionTree);
|
|
|
|
|
|
|
|
+ // Sort globalVariables offenders alphabetically
|
|
|
|
+ $scope.phantomasResults.offenders.globalVariables.sort();
|
|
|
|
+
|
|
|
|
+
|
|
initSummaryView();
|
|
initSummaryView();
|
|
initExecutionView();
|
|
initExecutionView();
|
|
initMetricsView();
|
|
initMetricsView();
|