]> granicus.if.org Git - transmission/commitdiff
remove dead code Inspector.accumulateString
authorJordan Lee <jordan@transmissionbt.com>
Fri, 19 Oct 2012 15:31:42 +0000 (15:31 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Fri, 19 Oct 2012 15:31:42 +0000 (15:31 +0000)
web/javascript/inspector.js

index 1f1955953675b9a10821c97c6a927caec7d2bfee..dea61784bf09f54f2d9892b47b6a029ffbda1607 100644 (file)
@@ -82,14 +82,6 @@ function Inspector(controller) {
     *****  GENERAL INFO PAGE
     ****/
 
-    accumulateString = function (oldVal, newVal) {
-        if (!oldVal || !oldVal.length)
-            return newVal;
-        if (oldVal === newVal)
-            return newVal;
-        return 'Mixed';
-    },
-
     updateInfoPage = function () {
         var torrents = data.torrents,
             e = data.elements,