瀏覽代碼

lint fixes

Adam Shaw 8 年之前
父節點
當前提交
67cd14ef95
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      tests/automated/lib/dom-geom.js

+ 5 - 5
tests/automated/lib/dom-geom.js

@@ -220,7 +220,7 @@ beforeEach(function() {
           var result = {
             pass: subjectBounds && otherBounds &&
               Math.round(subjectBounds.right) <= Math.round(otherBounds.left) + 2
-              // need to round because IE was giving weird fractions
+            // need to round because IE was giving weird fractions
           }
           if (!result.pass) {
             result.message = 'Element is not to the left of the other element'
@@ -238,7 +238,7 @@ beforeEach(function() {
           var result = {
             pass: subjectBounds && otherBounds &&
               Math.round(subjectBounds.left) >= Math.round(otherBounds.right) - 2
-              // need to round because IE was giving weird fractions
+            // need to round because IE was giving weird fractions
           }
           if (!result.pass) {
             result.message = 'Element is not to the right of the other element'
@@ -256,7 +256,7 @@ beforeEach(function() {
           var result = {
             pass: subjectBounds && otherBounds &&
               Math.round(subjectBounds.bottom) <= Math.round(otherBounds.top) + 2
-              // need to round because IE was giving weird fractions
+            // need to round because IE was giving weird fractions
           }
           if (!result.pass) {
             result.message = 'Element is not above the other element'
@@ -274,7 +274,7 @@ beforeEach(function() {
           var result = {
             pass: subjectBounds && otherBounds &&
               Math.round(subjectBounds.top) >= Math.round(otherBounds.bottom) - 2
-              // need to round because IE was giving weird fractions
+            // need to round because IE was giving weird fractions
           }
           if (!result.pass) {
             result.message = 'Element is not below the other element'
@@ -295,7 +295,7 @@ beforeEach(function() {
               subjectBounds.left + 1 < otherBounds.right &&
               subjectBounds.bottom - 1 > otherBounds.top &&
               subjectBounds.top + 1 < otherBounds.bottom
-              // +/-1 because of zoom
+            // +/-1 because of zoom
           }
           if (!result.pass) {
             result.message = 'Element does not intersect with other element'