From e2451eecd34f9fd838f29a28833ddf25bf6b4568 Mon Sep 17 00:00:00 2001 From: Sean Lilley Date: Thu, 25 Aug 2016 11:44:30 -0400 Subject: [PATCH] Fix jsHint errors --- Specs/Scene/Cesium3DTileBatchTableSpec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Specs/Scene/Cesium3DTileBatchTableSpec.js b/Specs/Scene/Cesium3DTileBatchTableSpec.js index c63da7378ae5..f717358910cd 100644 --- a/Specs/Scene/Cesium3DTileBatchTableSpec.js +++ b/Specs/Scene/Cesium3DTileBatchTableSpec.js @@ -362,7 +362,7 @@ defineSuite([ }; var batchTableBinary = new Float64Array([0, 1]); expect(function() { - var batchTable = new Cesium3DTileBatchTable(mockContent, 2, batchTableJson, batchTableBinary); + return new Cesium3DTileBatchTable(mockContent, 2, batchTableJson, batchTableBinary); }).toThrowDeveloperError(); }); @@ -375,7 +375,7 @@ defineSuite([ }; var batchTableBinary = new Float64Array([0, 1]); expect(function() { - var batchTable = new Cesium3DTileBatchTable(mockContent, 2, batchTableJson, batchTableBinary); + return new Cesium3DTileBatchTable(mockContent, 2, batchTableJson, batchTableBinary); }).toThrowDeveloperError(); }); @@ -388,7 +388,7 @@ defineSuite([ } }; expect(function() { - var batchTable = new Cesium3DTileBatchTable(mockContent, 2, batchTableJson); + return new Cesium3DTileBatchTable(mockContent, 2, batchTableJson); }).toThrowDeveloperError(); });