Version problem with css-analyze

This commit is contained in:
Gaël Métais
2014-11-03 17:10:08 +01:00
parent c3b4b30603
commit 5276ad8a26
+1 -1
View File
@@ -309,7 +309,7 @@ app.controller('ResultsCtrl', function ($scope) {
$scope.phantomasResults.metrics.cssOldPropertyPrefixes +
$scope.phantomasResults.metrics.cssUniversalSelectors * 5 +
$scope.phantomasResults.metrics.cssRedundantBodySelectors +
$scope.phantomasResults.metrics.cssImports * 50;
($scope.phantomasResults.metrics.cssImports || 0) * 50;
if (score > 50) {
note = 'B';
}