[gjs] coverage: Don't return this



commit 05ee0277faf56d4983a9511c581ec33bf58de391
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Feb 3 13:25:55 2014 -0500

    coverage: Don't return this
    
    It's implicit in a constructor.

 modules/coverage.js |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/modules/coverage.js b/modules/coverage.js
index b4ad9a8..3525bee 100644
--- a/modules/coverage.js
+++ b/modules/coverage.js
@@ -668,8 +668,6 @@ function CoverageStatisticsContainer(files) {
 
     for (let file of files)
         this._pendingFiles.push(file);
-
-    return this;
 }
 
 /**
@@ -749,7 +747,5 @@ function CoverageStatistics(files) {
 
         return undefined;
     };
-
-    return this;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]