浏览代码

Make jsHint happy

Gaël Métais 10 年之前
父节点
当前提交
84a5624eb7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/public/scripts/resultsCtrl.js

+ 2 - 2
app/public/scripts/resultsCtrl.js

@@ -53,8 +53,8 @@ app.controller('ResultsCtrl', function ($scope) {
                 $scope.totalJSTime += node.data.time;
                 $scope.totalJSTime += node.data.time;
             }
             }
 
 
-            if (node.data.timestamp < $scope.phantomasResults.metrics.domInteractive
-                && node.data.type !== 'jQuery - onDOMReady') {
+            if (node.data.timestamp < $scope.phantomasResults.metrics.domInteractive &&
+                    node.data.type !== 'jQuery - onDOMReady') {
                 $scope.inBodyDomManipulations ++;
                 $scope.inBodyDomManipulations ++;
             }
             }