Skip to content

Commit

Permalink
Add Level 'Deprecated'
Browse files Browse the repository at this point in the history
  • Loading branch information
killercup committed Jul 15, 2016
1 parent 8dad2ce commit a4f070b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion util/gh-pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ <h2 class="panel-title">
<span ng-if="lint.level == 'Allow'" class="label label-info">Allow</span>
<span ng-if="lint.level == 'Warn'" class="label label-warning">Warn</span>
<span ng-if="lint.level == 'Deny'" class="label label-danger">Deny</span>
<span ng-if="lint.level == 'Deprecated'" class="label label-default">Deprecated</span>

<a href="#{{lint.id}}" class="anchor label label-default">&para;</a>
</h2>
Expand Down Expand Up @@ -131,7 +132,7 @@ <h4 class="list-group-item-heading">
})
.controller("lintList", function ($scope, $http) {
// Level filter
$scope.levels = {Allow: true, Warn: true, Deny: true};
$scope.levels = {Allow: true, Warn: true, Deny: true, Deprecated: true};
$scope.byLevels = function (lint) {
return $scope.levels[lint.level];
};
Expand Down

0 comments on commit a4f070b

Please sign in to comment.